-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
Might relate to: #16017.
After upgrading to 5.33.5 select with disabled state behaves unexpectedly.
When setting disabled attribute to select component (just a wrapper around select element), then the binded value suddenly disappears.
While reproducing the issue I figured out few things:
selecthas to be in separated file as component to reproduce it- if you remove the bind
bind:valueand change it tovalue={value}inside select component, it works - when I remove
disabledprop from select component, it works
Reproduction
Broken >= 5.33.5
https://svelte.dev/playground/6d9f0dbfa2c74e8f88483dd90d0abfd6?version=5.33.7
Working < 5.33.5
https://svelte.dev/playground/6d9f0dbfa2c74e8f88483dd90d0abfd6?version=5.33.4
System Info
"svelte": "^5.33.7",
"@sveltejs/kit": "^2.21.1"Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
No labels