Closed
Description
Describe the bug
Bindend select value
that is store no longer works after this fix: #16017 meaning when I upgrade to version 5.33.6
.
It will result in error that the $store
is not defined.
Reproduction
Just create a store and bind it to the select value
:
<script>
import { writable } from "svelte/store";
const fruit = writable('orange')
</script>
<select bind:value={$fruit}>
<option value="apple">Apple</option>
<option value="orange">Orange</option>
</select>
Will result into:
ReferenceError: $fruit is not defined
Reproduction link: https://www.sveltelab.dev/wde9u3z1507ibh8
System Info
"@sveltejs/kit": "^2.21.1",
"svelte": "^5.33.6"
Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
No labels