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.
1 parent c2e854a commit 9e82dd9Copy full SHA for 9e82dd9
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,3}[.\-\s]?)(\d{2,4}[.\-\s]?){3}$/
+ // 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