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