pstanoev / simple-svelte-autocomplete

Simple Autocomplete / typeahead component for Svelte
http://simple-svelte-autocomplete.surge.sh/
MIT License
464 stars 78 forks source link

Call custom ordering functions when opening the menu with an empty input #199

Closed azmeuk closed 1 year ago

azmeuk commented 1 year ago

This is useful in cases one want to suggest items when the input is focused, before any input has been written. In such a case we want to call processListItems to sort the suggested items.

pstanoev commented 1 year ago

Looks good.