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

Adding opt to use justValue val for Inputs #641

Open smohanty92 opened 8 months ago

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-select ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2023 8:57pm
smohanty92 commented 8 months ago

Could help resolve

Existing Issue

I have some forms that are breaking onSubmit. Their values are the whole Object of option data, rather than just the value even after justValue is being used.

smohanty92 commented 5 months ago

Bump

knd775 commented 4 weeks ago

To be honest, this really should be the default behavior. The only use case for the input is forms, and no one wants an object in their form data. Maybe this can be changed in the next major version.

smohanty92 commented 3 weeks ago

Let's get this moved along