@oliasoft-open-source/react-ui-library 4.0.0-beta-24 → 4.0.0-beta-25
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.
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29024,7 +29024,7 @@ const reducer = (state, action2) => {
|
|
|
29024
29024
|
}
|
|
29025
29025
|
case "ON_CHANGE_SEARCH": {
|
|
29026
29026
|
let visibleOptions = action2.options.filter(
|
|
29027
|
-
(o) => String(o.label).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29027
|
+
(o) => (String(o.label) + (o.details ? String(o.details) : "")).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29028
29028
|
);
|
|
29029
29029
|
if (action2.createAble && action2.value !== "") {
|
|
29030
29030
|
visibleOptions = visibleOptions.concat({
|
|
@@ -59716,7 +59716,9 @@ const NumberInput = ({
|
|
|
59716
59716
|
const onSetValue = (evt) => {
|
|
59717
59717
|
const input2 = evt.target;
|
|
59718
59718
|
const { value: value2 } = input2;
|
|
59719
|
-
const inputValue = cleanNumStr(
|
|
59719
|
+
const inputValue = cleanNumStr(
|
|
59720
|
+
value2.replaceAll(" ", "").replaceAll("|", "")
|
|
59721
|
+
);
|
|
59720
59722
|
const { valid, errors } = validateInputValue(inputValue);
|
|
59721
59723
|
if (valid) {
|
|
59722
59724
|
onChange({
|