-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selected value in Input type="select" lost. #367
Comments
Hi @obendi , hmm that's weird - I'm actually able to duplicate outside sveltestrap with any component that wraps a select: https://svelte.dev/repl/f0e8ec9d58434f8a8491278f855bf8b5?version=3.42.3 Please see the "Select.svelte" in this repl: <script>
export let value = '';
</script>
<select
{...$$restProps}
bind:value
>
<slot />
</select> Code seems fine, but behaves incorrectly as you point out. |
Hi @bestguy , Looks like it stop working in Svelte version: 3.42.2. With 3.42.1 works fine: https://svelte.dev/repl/f0e8ec9d58434f8a8491278f855bf8b5?version=3.42.1 If you see in Svelte changelog, in 3.42.2 version are some changes related to I've found this open issue: sveltejs/svelte#6675 Thanks! |
Ah thanks! Will keep an eye on it. |
a workaround until they fix sveltejs/svelte#6675 |
Hi, This has been fixed in Svelte 3.42.4 version: https://svelte.dev/repl/f0e8ec9d58434f8a8491278f855bf8b5?version=3.42.4 Thanks! |
Hi,
I have a group of Input elements with preloaded values:
When I change the value of one of the inputs, the selected value of the Input Select is lost.
Here there is a REPL showing it: https://svelte.dev/repl/e1fb4972879b4b21aa7a714060d7434e?version=3.42.3
Thanks!
The text was updated successfully, but these errors were encountered: