We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 606bd73 + 9e82dd9 commit ee1f71fCopy full SHA for ee1f71f
src/routes/settings/routes/profile/components/ProfileSettingsForm.jsx
@@ -40,7 +40,8 @@ class ProfileSettingsForm extends Component {
40
let validations = null
41
if (name === 'businessPhone') {
42
validations = {
43
- matchRegexp: /^([+]?\d{1,2}[.-\s]?)?(\d{3}[.-]?){2}\d{4}$/
+ // use same regexp as on server side
44
+ matchRegexp: /^\+(?:[0-9] ?){6,14}[0-9]$/
45
}
46
} else if (name === 'firstNLastName') {
47
0 commit comments