CaptainCodeman / svelte-headlessui

HeadlessUI components for Svelte
https://captaincodeman.github.io/svelte-headlessui/
MIT License
529 stars 25 forks source link

Multiple selection for ListBox #56

Closed thanhtschoepe closed 9 months ago

thanhtschoepe commented 1 year ago

Hi! Is support for multiple selection on the road map? Thank you for keeping up to date! I'm on the camp of moving from rgossiaux

CaptainCodeman commented 11 months ago

Like the one discussed here https://github.com/CaptainCodeman/svelte-headlessui/issues/49, or something different?

I think the other approach would be to have each listbox item be a checkbox, but the chips provide the display of what is selected when the dropdown isn't open which would otherwise be lost. Otherwise, for good UI, I'd usually want to use an always-open list or two lists that things move betweem