-
Notifications
You must be signed in to change notification settings - Fork 14
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
[React Wrappers] attributeMapping htmlFor #53
Comments
nevermind i found out https://github.com/break-stuff/cem-tools/blob/main/tools/utilities/src/utilities.ts#L39 this works
I do think for and htmlFor might be a good candidate for in here |
That's a really good idea! Thank you! |
A fix for this has been deployed in release 1.2.0 (#67). Let me know if you run into any issues. |
@break-stuff found a small oversight
|
Does your |
well for in react doesn't work that only works with htmlFor https://legacy.reactjs.org/docs/dom-elements.html#htmlfor so there is this thing right react is all jsx so javascript so a |
Yeah, it should now, but it sounds like your custom element may also have a |
You are correct. Because these components render in JSX, |
I deployed a fix for this in 1.4.0. Let me know if you run into any issues. |
Closing this for now. Let me know if anything comes up. |
customElementReactWrapperPlugin
this would work if not that all keys are lowercase so htmlFor becomes htmlfor
if I manually do this
now everything works as expected when I do this
The text was updated successfully, but these errors were encountered: