allow null value for attendee phone number (#5132)
Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user