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

fix: only inits form association if element is form associated #122

Conversation

enjoythelive1
Copy link
Contributor

@enjoythelive1 enjoythelive1 commented Oct 11, 2023

I found this bug while developing some components, and relying in element internals for setting aria attributes.

If you place a non form associated element inside of a form, the polyfill treats it as a form associated element and that fails.

@enjoythelive1 enjoythelive1 force-pushed the fix-non-form-associated-element-in-form branch 2 times, most recently from c908378 to 8b32cdc Compare October 11, 2023 12:48
Copy link
Owner

@calebdwilliams calebdwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Thanks for the PR!

@calebdwilliams calebdwilliams merged commit a3e742b into calebdwilliams:main Oct 18, 2023
1 check passed
@calebdwilliams
Copy link
Owner

This is published as [email protected]

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 this pull request may close these issues.

2 participants