-
Notifications
You must be signed in to change notification settings - Fork 5
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
Miss behavior when attribute is "newT" #15
Comments
When the property is "newT", the input don't get any value. |
Attribute names are automatically converted to lowercase by the browser: https://html.spec.whatwg.org/multipage/dom.html#custom-data-attribute That means {{ newt }} would work but {{ newT }} would not. It's a bit of an inconvenient restriction in our case, but I don't see much we can do about it. |
If there is some way we can detect it, it would be nice to give a compile-time warning / error. |
Ok this make sense
If I remember correctly what react do, they force user to use camel case name and when it’s required they convert it to dashed case.
The first step in my opinion is to document it. Maybe it starting to make sense to create a dedicated site for Margery the language/idea this site would have links to all implementation of course.
I m pretty sure we can see it at compile time.
I’ll come up with a test case.
Benjamin Dreux
… Le 17 janv. 2018 à 03:04, Caolan McMahon ***@***.***> a écrit :
If there is some way we can detect it, it would be nice to give a compile-time warning / error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
we now have a test case in the suite for this. |
Here is an exemple
The text was updated successfully, but these errors were encountered: