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
I'd be happy to accept a PR that relaxed the format to allow hyphens. Some of the other patterns already allow this. In the mean time, you can validate the results of phone.replace(/-/g, '') or use a custom regular expression pattern.
validator.isMobilePhone("###-###-####",'en-US') fails as a valid number.
The text was updated successfully, but these errors were encountered: