allow null value for attendee phone number (#5132)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
Carina Wollendorfer
2022-10-20 18:21:27 +00:00
committed by GitHub
co-authored by CarinaWolli Alex van Andel
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))