rob-balfre / svelte-select

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

new feature: create new item #470

Closed BetaConnector closed 1 year ago

BetaConnector commented 1 year ago

Hey,

svelecte supports creating custom items (Creatable): https://mskocik.github.io/svelecte/#playground.

I am using svelte-select in my project, but now I am facing the issue that the user needs to create their own options.

Is this feature planned?

Thanks in advance - Alex

BetaConnector commented 1 year ago

I found the option isCreatable. Sorry for that.

kl3sk commented 1 year ago

@rob-balfre this option seems not available anymore in V5 ?

rob-balfre commented 1 year ago

@rob-balfre this option seems not available anymore in V5 ?

See the migration guide for an example and let me know how you get on...

https://github.com/rob-balfre/svelte-select/blob/feature/v5/MIGRATION_GUIDE.md

kl3sk commented 1 year ago

@rob-balfre this option seems not available anymore in V5 ?

See the migration guide for an example and let me know how you get on...

https://github.com/rob-balfre/svelte-select/blob/feature/v5/MIGRATION_GUIDE.md

My bad, I did see this section.

Any REPL example ?

rob-balfre commented 1 year ago

@rob-balfre this option seems not available anymore in V5 ?

See the migration guide for an example and let me know how you get on...

https://github.com/rob-balfre/svelte-select/blob/feature/v5/MIGRATION_GUIDE.md

My bad, I did see this section.

Any REPL example ?

All good. No REPL but I'll add an example to the main site tomorrow. It's late in Sydney 😁

kl3sk commented 1 year ago

@rob-balfre this option seems not available anymore in V5 ?

See the migration guide for an example and let me know how you get on... https://github.com/rob-balfre/svelte-select/blob/feature/v5/MIGRATION_GUIDE.md

My bad, I did see this section. Any REPL example ?

All good. No REPL but I'll add an example to the main site tomorrow. It's late in Sydney 😁

Ok I understand that 😉. I'll try it on my side until you update it, because at this point it doesn't work for me.

Thank you