-
-
Notifications
You must be signed in to change notification settings - Fork 551
feat(form-core): add onDynamicListenTo validator option #1896
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
base: main
Are you sure you want to change the base?
Conversation
- Add onDynamicListenTo to FieldValidators interface - Implement dynamic cause handling in getLinkedFields method - Add password/confirmPassword example demonstrating cross-field validation
|
|
View your CI Pipeline Execution ↗ for commit 5f7b420
☁️ Nx Cloud last updated this comment at |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1896 +/- ##
==========================================
- Coverage 90.35% 89.78% -0.57%
==========================================
Files 38 46 +8
Lines 1752 1939 +187
Branches 444 490 +46
==========================================
+ Hits 1583 1741 +158
- Misses 149 177 +28
- Partials 20 21 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add test for onDynamic cross-field validation with onDynamicListenTo - Add test for onDynamicAsync cross-field validation with onDynamicListenTo - Fix getLinkedFields to return validator cause for each linked field - Add 'dynamic' case to defaultValidationLogic - Clear dynamic errors when running change/blur validation
Adds support for onDynamicListenTo to enable cross-field dynamic validation.
Changes
onDynamicListenTotoFieldValidatorsinterfacegetLinkedFieldsmethodFixes #1698