Closed
Description
Describe the bug
If I refer to a parent's slot property inside a select
element with a binding value, an undefined error for slot property will be thrown if selected option is changed by user.
This doesn't have any effects on functionality but it still throws an error that fills console on every selection change.
Reproduction
https://svelte.dev/repl/fe9ca7db7ce140d3ade4a3e7b53d7b94?version=3.42.4
Select a new option and check console output.
Logs
Error:
message: "type is not defined"
stack: ReferenceError: type is not defined
at HTMLSelectElement.select_change_handler (eval at handle_message (about:srcdoc:13:8), <anonymous>:778:23)
System Info
System:
OS: Linux 5.11 Debian GNU/Linux 10 (buster) 10 (buster)
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 1.52 GB / 7.46 GB
Container: Yes
Shell: 5.0.3 - /bin/bash
Binaries:
Node: 16.7.0 - ~/.n/bin/node
npm: 7.20.3 - ~/.n/bin/npm
npmPackages:
svelte: ^3.41.0 => 3.42.1
webpack: ^5.16.0 => 5.50.0
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels