Is there really no good standalone (no framework used/bundled) combobox web component????
2 reposts27 likes
Is there really no good standalone (no framework used/bundled) combobox web component????
2 reposts27 likes
yeah weird, you'd think thats the first thing people build. maybe shows how little work has been done on WC. i assume you're not happy with <datalist> tag? or webawesome has a custom <select> webawesome.com/docs/compone...
There’s potentially some relief coming with new select element bits: youtu.be/VTCIStB6y8s
If you decide to use a framework, there's this one in Preact I saw recently. Not sure if you've heard of Preact, it's awesome if you haven't heard of it. bsky.app/profile/muna...
Announcing Preact Combobox - Multi-select & Single-select modes - Partial word matching, accent matching - Lazy options loading and remote search support - Light / Dark theme, RTL, Translation, form submit support www.npmjs.com/package/prea...
its actually really hard to get right 🙈 I wrote an experimental one a while back. role-components.vercel.app/components/c... A lot of the difficulty is all the possible permutations and customizations. And safari aria-activedescendant being useless. And live regions suck to replace it.
Similar boat, still weighs on the back of my mind to give it another try. Came up with a huge list of issues / feature requests with our existing (FAST-based) select and combobox, but still feels partial: github.com/ni/nimble/is...