metonym / svelte-typeahead

Accessible, fuzzy search typeahead component
https://metonym.github.io/svelte-typeahead
MIT License
222 stars 18 forks source link

Allow setting initial / default value #75

Open xpluscal opened 1 year ago

xpluscal commented 1 year ago

The plugin works great when creating objects. Where I'm struggling is with Edit / Update scenarios.

It would be great to be able to supply an initial value. Assigning this via value requires maintaining a value var which will get cumbersome esp. of there are multiple typeaheads on one screen.

Wdyt?