-
Notifications
You must be signed in to change notification settings - Fork 6
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
[OF#3383] Refactor phone number validation #553
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #553 +/- ##
===========================================
+ Coverage 55.49% 70.83% +15.34%
===========================================
Files 203 209 +6
Lines 3743 4300 +557
Branches 679 1162 +483
===========================================
+ Hits 2077 3046 +969
+ Misses 1475 1219 -256
+ Partials 191 35 -156
☔ View full report in Codecov by Sentry. |
cff2ac5
to
37efe33
Compare
…validators to be OR-ed rather than AND-ed
37efe33
to
e6774dc
Compare
src/formio/validators/plugins.js
Outdated
}; | ||
if (anyValid) return true; | ||
|
||
return results.join('<br>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @SilviaAmAm and @sergei-maertens - a separate issue(#558) has been created for this.
Fixes open-formulieren/open-forms#3383