Closed planemad closed 1 year ago
You can use loadOptions
a promise based method to return them sorted how you'd prefer.
v5 example here... https://svelte-select-examples.vercel.app/examples/props/loadOptions
Perfect, that would work! Thanks @rob-balfre
Expected
When typing my search string, the top results would be those words that start with my typed string.
Actual
The top results are alphabetical, and i need to type more characters than expected to find my result.
Eg. Picking Tanzania from a country list requires typing
tanz
, but if it was ordered by matching starting string it would just needt
--
This is a very cool project ❤️ !