Repository navigation
[field] Fix valueMissing revalidation - #4995
Conversation
commit: |
Bundle size
PerformanceTotal duration: 1,286.27 ms +64.18 ms(+5.3%) | Renders: 50 (+0) | Paint: 1,929.11 ms +81.45 ms(+4.4%)
11 tests within noise — details Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Code Review (GPT-5.5)Approve ✅ The valueMissing revalidation fix targets the stale native validity transition directly and adds focused regression coverage for the required-empty handoff. 1. Bugs / Issues (None)I didn’t find any blocking or non-blocking issues in the branch diff. 2. Root Cause & Patch AssessmentThe helper previously let the 3. Test Coverage AssessmentThe new |
A required field could keep showing a stale native validation state after a previous native error changed into a required error.
Root cause
isOnlyValueMissing()reset its flag during thevalueMissingcheck, so it never allowed value-missing-only revalidation to continue.Changes