@megha-ui/react 1.3.42 → 1.3.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -200,6 +200,11 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
200
200
|
console.log(isNaN(parseFloat(aValue)), isNaN(parseFloat(bValue)));
|
|
201
201
|
aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
|
|
202
202
|
bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
|
|
203
|
+
console.log({ aValue, bValue });
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
|
|
207
|
+
bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
|
|
203
208
|
}
|
|
204
209
|
return aValue > bValue ? 1 : -1;
|
|
205
210
|
})
|
package/package.json
CHANGED