Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding broken on <select> within optgroup #915

Closed
bsssshhhhhhh opened this issue Nov 8, 2017 · 1 comment · Fixed by #925
Closed

Binding broken on <select> within optgroup #915

bsssshhhhhhh opened this issue Nov 8, 2017 · 1 comment · Fixed by #925

Comments

@bsssshhhhhhh
Copy link
Contributor

bsssshhhhhhh commented Nov 8, 2017

2-way binding is broken on <option> elements that are nested within an <optgroup> tag:
https://svelte.technology/repl?version=1.41.2&gist=29dbb2651b80d111672cd74944b4bf57

Instead of "World", the value is set to undefined

Rich-Harris added a commit that referenced this issue Nov 18, 2017
don't use innerHTML for options inside optgroups
@Rich-Harris
Copy link
Member

Fixed in 1.41.4. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants