ui: fix autocomplete

This commit is contained in:
undefined committed 2021-08-25 09:37:47 +00:00
1 parent 4c6aeeb914
commit 329d047699
3 files changed
+7 -1

No files matched your search

@@ -98,6 +98,7 @@ const AutoComplete = forwardRef(function AutoComplete(props, ref) {
inputRef.current.value = '';
inputRef.current.focus();
} else {
setSelected([item]);
inputRef.current.value = itemKey(item);
dispatchChange();
}