@monolith-forensics/monolith-ui 1.2.81 → 1.2.82
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.
|
@@ -472,10 +472,7 @@ DropDownProps = {}, debounceTime = 150, sort = false, disabled = false, }) => {
|
|
|
472
472
|
}, [refs.floating, refs.reference, handleBlur]);
|
|
473
473
|
// handle input value change
|
|
474
474
|
useEffect(() => {
|
|
475
|
-
|
|
476
|
-
const newValue = _value.label;
|
|
477
|
-
setInputValue(newValue || "");
|
|
478
|
-
}
|
|
475
|
+
setInputValue((_value === null || _value === void 0 ? void 0 : _value.label) || "");
|
|
479
476
|
}, [_value]);
|
|
480
477
|
// handle scroll item into view
|
|
481
478
|
useEffect(() => {
|