fix: prevent combobox from over-filtering options on focus (#4829)
This commit is contained in:
1 parent
3e588b4d4f
commit
51b5cbe1bd
1 file changed
+1
-1
+1
-1
@@ -176,7 +176,7 @@ export function ComboboxInput({
|
||||
if (!open) setOpen(true)
|
||||
}}
|
||||
onFocus={() => {
|
||||
setSearchValue(allowCustomValue ? value : '')
|
||||
setSearchValue(allowCustomValue && !selectedOption ? value : '')
|
||||
setOpen(true)
|
||||
}}
|
||||
onKeyDown={handleKeyDown}
|
||||
|
||||
Reference in new issue
Block a user