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