fix: prevent combobox from over-filtering options on focus (#4829)
This commit is contained in:
+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