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
lists inside #each block - on:change is not working (Uncaught TypeError: Cannot read property 'component' of undefined
at HTMLSelectElement.change_handler (eval at U (bundle.61a4bf9….js:6), :170:30)
change_handler @ VM816:170
)
inputs inside #each block - on:change is working without problems
The text was updated successfully, but these errors were encountered:
This looks related to my changes in #521. childState.allUsedContexts and childState.usesComponent apparently aren't getting updated in time when we're deferring visiting all of the <select> element's attributes - and so we don't generate the code that initializes or updates the values in _svelte on the element.
When visiting `<select>` elements, don't try to add props until after
the (delayed) visiting of the attributes, as that's when we determine
what the props should be.
You can see this bug here: https://svelte.technology/repl?gist=1c4a9db0b3ce319f4e893138e5a6398d
list0 - on:change is working without problems
lists inside #each block - on:change is not working (Uncaught TypeError: Cannot read property 'component' of undefined
at HTMLSelectElement.change_handler (eval at U (bundle.61a4bf9….js:6), :170:30)
change_handler @ VM816:170
)
inputs inside #each block - on:change is working without problems
The text was updated successfully, but these errors were encountered: