updates
This commit is contained in:
@@ -42,8 +42,8 @@ const profileValidationSchema = yup.object().shape({
|
||||
.string()
|
||||
.required('Phone number is required')
|
||||
.matches(
|
||||
/^[0-9]{10,11}$/,
|
||||
'Phone number must have 10-11 digits'
|
||||
/^[\d\s\-\+\(\)]{5,}$/,
|
||||
'Please enter a valid phone number'
|
||||
),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user