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
|
phone: z
|
||||||
.string()
|
.string()
|
||||||
.refine((val) => isValidPhoneNumber(val))
|
.refine((val) => isValidPhoneNumber(val))
|
||||||
.optional(),
|
.optional()
|
||||||
|
.nullable(),
|
||||||
smsReminderNumber: z
|
smsReminderNumber: z
|
||||||
.string()
|
.string()
|
||||||
.refine((val) => isValidPhoneNumber(val))
|
.refine((val) => isValidPhoneNumber(val))
|
||||||
|
|
Loading…
Reference in New Issue