This commit is contained in:
Iliyan Angelov
2025-11-21 19:44:42 +02:00
parent 2a105c1170
commit 9842cc3a4a
24 changed files with 2801 additions and 2654 deletions

View File

@@ -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'
),
});