@digital-ai/dot-components 4.26.0 → 4.26.1
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/index.esm.js +3 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -7414,6 +7414,9 @@ const DotAutoComplete = ({
|
|
|
7414
7414
|
val,
|
|
7415
7415
|
reason
|
|
7416
7416
|
});
|
|
7417
|
+
if (reason === 'clear' && !disableCloseOnSelect) {
|
|
7418
|
+
setIsOpened(false);
|
|
7419
|
+
}
|
|
7417
7420
|
},
|
|
7418
7421
|
onClose: handleClose,
|
|
7419
7422
|
onHighlightChange: (_event, v) => highlightedOption = v,
|