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

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