Skip to content

fix(numberfield): preserve validation errors on blur when value unchanged#9798

Merged
yihuiliao merged 1 commit intomainfrom
numberfield-validation-reset-on-blur
Mar 17, 2026
Merged

fix(numberfield): preserve validation errors on blur when value unchanged#9798
yihuiliao merged 1 commit intomainfrom
numberfield-validation-reset-on-blur

Conversation

@snowystinger
Copy link
Member

Closes #9444

Replaces #9629 because it didn't have a signed CLA

✅ 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:

🧢 Your Project:

@rspbot
Copy link

rspbot commented Mar 17, 2026

@yihuiliao yihuiliao added this pull request to the merge queue Mar 17, 2026
Merged via the queue into main with commit 3c238fe Mar 17, 2026
29 checks passed
@yihuiliao yihuiliao deleted the numberfield-validation-reset-on-blur branch March 17, 2026 18:43
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.

NumberField: onBlur event always resets invalidation

4 participants