You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<select> elements that should have a selected option appear blank after the update to 3.42.2
This only happens (to me at least) if the select is inside a component that has store props passed to it.
I am aware of the change proposed in #6126 and implemented by #6170 but it seems that this is not the root cause of this issue but rather brings to light a underlying problem.
I have tried adding console.log(value) to select_option function in svelte/src/runtime/internal/dom.ts#L536
and It logged undefined with the code shown in the REPL.
Describe the bug
<select>
elements that should have a selected option appear blank after the update to 3.42.2This only happens (to me at least) if the select is inside a component that has store props passed to it.
I am aware of the change proposed in #6126 and implemented by #6170 but it seems that this is not the root cause of this issue but rather brings to light a underlying problem.
I have tried adding
console.log(value)
toselect_option
function in svelte/src/runtime/internal/dom.ts#L536and It logged
undefined
with the code shown in the REPL.Reproduction
https://svelte.dev/repl/6ab9575cda57439a83652811ecfd7d8c?version=3.42.2
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: