Skip to content

fix(form): prevent TypeError when form contains elements without validity#9614

Open
sonsu-lee wants to merge 2 commits intoadobe:mainfrom
sonsu-lee:fix/useFormValidation-web-component
Open

fix(form): prevent TypeError when form contains elements without validity#9614
sonsu-lee wants to merge 2 commits intoadobe:mainfrom
sonsu-lee:fix/useFormValidation-web-component

Conversation

@sonsu-lee
Copy link
Contributor

@sonsu-lee sonsu-lee commented Feb 5, 2026

Closes #9424

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

yarn test packages/react-aria-components/test/Form.test.js

🧢 Your Project:

Copy link
Member

@reidbarber reidbarber left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix and test!

@reidbarber reidbarber added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@reidbarber reidbarber added this pull request to the merge queue Feb 7, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

useFormValidation fails on Web Component

3 participants