test(form-core): cover onMount field errors before field mount#2223
test(form-core): cover onMount field errors before field mount#2223cyphercodes wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a test for a field mounted after form mount when the form-level ChangesForm mount error retention
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Refs #1366
🎯 Changes
validators.onMountreturning field errors before the corresponding field has mounted.FieldApireceives theonMountfield error, records the error source asform, and exposes the flattened error list.✅ Checklist
pnpm test:pr.🚀 Release Impact
Summary by CodeRabbit