listbox with multiple prop unable to unselect option
halindraprakoso opened this issue · 1 comments
halindraprakoso commented
hello,
I'm using listbox as a multiselect via the multiple prop. However, clicking a selected item does not unselect the item. I tried the react headless UI and it unselects automatically.
Thanks for the library!
Jcanotorr06 commented
Just in case anyone else runs into this issue, you need to pass both multiple
and toggleable
props to the Listbox
component in order to enable the ability to deselect options.