rob-balfre / svelte-select

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

Edit empty/no matches text #595

Closed henryjameslau closed 1 year ago

henryjameslau commented 1 year ago

Hi, I'd like to be edit the text shown when there are no match to the string entered. Thanks

rob-balfre commented 1 year ago

@henryjameslau use the 'empty' slot... https://svelte.dev/repl/434fd3ba20414bf0a37a0c800122c8ed?version=3.58.0

henryjameslau commented 1 year ago

Ah sorry I didn't know that was the slot I needed, thank you!