svelecte
svelecte copied to clipboard
Flexible autocomplete/select component written in Svelte,
I had issues with validating `el-svelecte` with `mutliple`. It returns array with _empty_ value: `[""]`. Check how native `` behaves. It should behave the same.. so it's probably bug.
Not sure if I'm implementing this incorrect, but is it possible to use `multiple` without `valueAsObject`? What I'm trying to do is pass `options` an array of objects, but bind...
when i import it like this: ```js import Svelecte from 'svelecte'; ``` i dont have any intellisense when defining the props of the component However, if i import it like...
The control should close the dropdown after a selection is made. Regardless if it's multiple or not.
Hi, the `readSelection` seems to not return the whole passed object as is stated in the docs. I have array of categories ```json [ { "id": 2, "name": "Kategorie A",...
Based on [wai-aria-practises](https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html) and take an inspiration from [react-select](https://github.com/JedWatson/react-select/blob/9009a153c059474117a7696f9f7a0914ad80acc0/packages/react-select/src/accessibility/index.ts) and [svelte-select](https://github.com/rob-balfre/svelte-select/issues/286)
I"ve added some role attribute for better a11y. For now, It miss `aria-activedescendant` which reference child's id I'm not sure on how to add the correct `id` on items and...
I can imagine better docs - more examples, more straightforward and clear. - [ ] Rework the whole package to svelte-kit. - [ ] Better examples: - [ ] basic...
Would be great to have tests in place. Especially for virtual list, where Svelecte relies on svelte's internals and can potentially break in the future. Help is appreciated.
Would be nice to for mobile devices to show list only on focus, and on second click start typing.