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

web component properties are not passed unless all lowercase #7532

Closed
arackaf opened this issue May 14, 2022 · 1 comment
Closed

web component properties are not passed unless all lowercase #7532

arackaf opened this issue May 14, 2022 · 1 comment

Comments

@arackaf
Copy link
Contributor

arackaf commented May 14, 2022

Describe the bug

If a web component has a property, it is not set from markup unless it's entirely lowercase.

Reproduction

https://svelte.dev/repl/833b65a684ac497db2209d43a9a7e41d?version=3.48.0

The setter for incrementAmount does not fire. If you change it in both places to incrementamount then it works.

This is probably a duplicate of #7381, but I think spells out the bug a little more clearly.

Logs

n/a

System Info

REPL

Severity

annoyance

@Rich-Harris
Copy link
Member

looks like this works in Svelte 5, so I'll close this

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

No branches or pull requests

2 participants