allow null value for attendee phone number (#5132)
Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: Alex van Andel <me@alexvanandel.com>pull/5141/head
parent
bc6f959c7a
commit
39a3a1affb
|
@ -262,7 +262,8 @@ const BookingPage = ({
|
|||
phone: z
|
||||
.string()
|
||||
.refine((val) => isValidPhoneNumber(val))
|
||||
.optional(),
|
||||
.optional()
|
||||
.nullable(),
|
||||
smsReminderNumber: z
|
||||
.string()
|
||||
.refine((val) => isValidPhoneNumber(val))
|
||||
|
|
Loading…
Reference in New Issue