fixing Bug

This commit is contained in:
2022-01-05 11:35:26 +07:00
parent 2cb4f9319c
commit d47f838dc1
4 changed files with 193 additions and 70 deletions

View File

@@ -102,8 +102,8 @@ export const MembershipModal = ({
},
{
//pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})/,
pattern: /^[\d]{2,12}$/,
message: "Phone number should be less than 12 character",
pattern: /^[\d]{10,12}$/,
message: "Phone number should be 10 - 12 character",
},
]}
>