@vention/machine-ui 5.15.0 → 5.15.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 +7 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -11436,6 +11436,9 @@ const VentionCombobox = props => {
|
|
|
11436
11436
|
const handleClose = () => {
|
|
11437
11437
|
setAnchorEl(null);
|
|
11438
11438
|
};
|
|
11439
|
+
const handleExited = () => {
|
|
11440
|
+
setSearchValue("");
|
|
11441
|
+
};
|
|
11439
11442
|
const handleOptionClick = optionValue => {
|
|
11440
11443
|
if (onChange) {
|
|
11441
11444
|
onChange(optionValue);
|
|
@@ -11496,6 +11499,9 @@ const VentionCombobox = props => {
|
|
|
11496
11499
|
open: isOpen,
|
|
11497
11500
|
anchorEl: anchorEl,
|
|
11498
11501
|
onClose: handleClose,
|
|
11502
|
+
TransitionProps: {
|
|
11503
|
+
onExited: handleExited
|
|
11504
|
+
},
|
|
11499
11505
|
anchorOrigin: {
|
|
11500
11506
|
vertical: "bottom",
|
|
11501
11507
|
horizontal: "center"
|
|
@@ -11522,6 +11528,7 @@ const VentionCombobox = props => {
|
|
|
11522
11528
|
size: "small",
|
|
11523
11529
|
variant: "outlined",
|
|
11524
11530
|
placeholder: searchPlaceholder,
|
|
11531
|
+
value: searchValue,
|
|
11525
11532
|
onChange: event => setSearchValue(event.target.value),
|
|
11526
11533
|
InputProps: {
|
|
11527
11534
|
startAdornment: jsx(InputAdornment, {
|