From 39a3a1affbd77aabbb40de27ead95ed601a7b2dc Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Thu, 20 Oct 2022 20:21:27 +0200 Subject: [PATCH] allow null value for attendee phone number (#5132) Co-authored-by: CarinaWolli Co-authored-by: Alex van Andel --- apps/web/components/booking/pages/BookingPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx index 0d5f5d059b..a07f30bd3a 100644 --- a/apps/web/components/booking/pages/BookingPage.tsx +++ b/apps/web/components/booking/pages/BookingPage.tsx @@ -262,7 +262,8 @@ const BookingPage = ({ phone: z .string() .refine((val) => isValidPhoneNumber(val)) - .optional(), + .optional() + .nullable(), smsReminderNumber: z .string() .refine((val) => isValidPhoneNumber(val))