You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you go to edit your dinopark contacts and enter a number containing a parenthesis (e.g. +1 (212) 555-5555), the frontend shows a validation error message saying Enter country code +[1-9].
To Reproduce Problem 1
Steps to reproduce the behavior:
Enter the following in the phone contact field : abcdef
Expected behavior 1
An error message is shown indicating the expected format of the phone number or of the allowed characters
Actual behavior 1
A validation error message saying Enter country code +[1-9] is shown.
Is +[1-9] supposed to mean the string must be a + followed by a series of numbers not including 0?
Is it supposed to be a reverse regex indicating one or more instances of the numbers between 1 and 9 not including 0?
It's unclear what this error means, and all the things I can come up with aren't true (as the field must accept at least spaces, the number 0, and dashes. It should include parentheses
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
If you go to edit your dinopark contacts and enter a number containing a parenthesis (e.g.
+1 (212) 555-5555
), the frontend shows a validation error message sayingEnter country code +[1-9]
.To Reproduce Problem 1
Steps to reproduce the behavior:
+1 (212) 555-5555
Expected behavior 1
No error is shown as +1 (212) 555-5555 is a valid US phone number
Actual behavior 1
A validation error message saying
Enter country code +[1-9]
is shownTo Reproduce Problem 2
Steps to reproduce the behavior:
abcdef
Expected behavior 1
An error message is shown indicating the expected format of the phone number or of the allowed characters
Actual behavior 1
A validation error message saying
Enter country code +[1-9]
is shown.Is
+[1-9]
supposed to mean the string must be a+
followed by a series of numbers not including0
?Is it supposed to be a reverse regex indicating one or more instances of the numbers between
1
and9
not including0
?It's unclear what this error means, and all the things I can come up with aren't true (as the field must accept at least spaces, the number
0
, and dashes. It should include parenthesesScreenshots
The text was updated successfully, but these errors were encountered: