rob-balfre / svelte-select

Svelte Select. A select component for Svelte
https://svelte-select-examples.vercel.app
Other
1.25k stars 175 forks source link

Trigger loadOptions on command #521

Closed keironstoddart closed 1 year ago

keironstoddart commented 1 year ago

Apologies if this is a poor question, I am new to Svelte - but is there anyone way to trigger loadOptions on an event outside of the specific Select component?

rob-balfre commented 1 year ago

No, you'd need to manually fetch and populate items. Create a REPL of what you're trying to achieve and I can help more. Thanks