pramod_Task-#239 : Display in Card View contacts List #121
@ -24,7 +24,7 @@ export const ContactSchema = z
|
|||||||
phoneNumber: z
|
phoneNumber: z
|
||||||
.string()
|
.string()
|
||||||
.min(6, "Invalid Number")
|
.min(6, "Invalid Number")
|
||||||
.max(10, "Invalid Number")
|
.max(13, "Invalid Number")
|
||||||
.regex(/^[\d\s+()-]+$/, "Invalid phone number format").or(z.literal("")),
|
.regex(/^[\d\s+()-]+$/, "Invalid phone number format").or(z.literal("")),
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user