Phone Input Pattern SyntaxError #25375
Closed
stefanbiba
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Start a discussion
In Google Chrome Console an error is occurring when filling out a phone number in a phone input field:
Pattern attribute value [0-9()#&+*-=.]+ is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[0-9()#&+*-=.]+/v: Invalid character in character class
I guess the 'v' at the end should not be there :-)
Beta Was this translation helpful? Give feedback.
All reactions