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
Carina Wollendorfer 2022-10-20 20:21:27 +02:00 committed by GitHub
parent bc6f959c7a
commit 39a3a1affb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,8 @@ const BookingPage = ({
phone: z
.string()
.refine((val) => isValidPhoneNumber(val))
.optional(),
.optional()
.nullable(),
smsReminderNumber: z
.string()
.refine((val) => isValidPhoneNumber(val))