ComboBox without Popover / with always visible list #5902
-
Hi all, I am looking to create a search input linked to listbox, such that the list is always visible - what would be the best way to go? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think there are a few ways you could handle this: Simple solution 1: Use a ComboBox and set the Popover's Simple solution 2: Use a SearchField and a ListBox, where you add an Advanced solution: Use the useCombobox hook and don't render a trigger button and don't put the listbox inside a popover. |
Beta Was this translation helpful? Give feedback.
You probably still need to pass in a
popoverRef
intouseComboBox
if you're not (It can just be the wrapper of the listbox). If you're already doing that and still having this issue, I would probably need to see a codesandbox example to debug further.