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:
authored and GitHub committed 2022-10-20 18:21:27 +00:00
1 parent bc6f959c7a
commit 39a3a1affb
1 file changed
+2 -1
@@ -262,7 +262,8 @@ const BookingPage = ({
phone: z
.string()
.refine((val) => isValidPhoneNumber(val))
.optional(),
.optional()
.nullable(),
smsReminderNumber: z
.string()
.refine((val) => isValidPhoneNumber(val))