Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class ProfileSettingsForm extends Component {
let validations = null
if (name === 'businessPhone') {
validations = {
matchRegexp: /^([+]?\d{1,2}[.-\s]?)?(\d{3}[.-]?){2}\d{4}$/
// use same regexp as on server side
matchRegexp: /^\+(?:[0-9] ?){6,14}[0-9]$/
}
} else if (name === 'firstNLastName') {
validations = {
Expand Down