pstanoev / simple-svelte-autocomplete

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

Fixed async behavior #157

Closed azmeuk closed 2 years ago

azmeuk commented 2 years ago

This patch fixes #154, adds tests to avoid regressions on the async side.

prepareListItems is not called anymore when a searchFunction is defined. This fixes filtering, and query highlighting.

@pstanoev could you review this and release a new version? :pray: :heart: