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

custom form element with name attribute breaks lit-template #132

Open
christophe-g opened this issue Jul 13, 2024 · 0 comments
Open

custom form element with name attribute breaks lit-template #132

christophe-g opened this issue Jul 13, 2024 · 0 comments

Comments

@christophe-g
Copy link

the createHiddenInput method called when a polyfilled element has a name attribute breaks lit-template (the dom is manipulated outside lit and the refs of the template are then incorrect).

First render of the template is correct, subsequent renders might be broken.

I am reporting it here (even though it is arguably more of a lit issue) because it is likely a lot of consumer of this polyfill will be using lit (through @material/web).

I am also not sure what kind of workaround could be proposed.

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

1 participant