Scheduling infrastructure for absolutely everyone.
fix: Support 10-digit phone numbers for Ivory Coast (+225) (#26465)
Kartikb8b9251f76a0
diff --git a/packages/features/components/phone-input/PhoneInput.tsx b/packages/features/components/phone-input/PhoneInput.tsxindex 4dfcc6f8684..8d644266e21 100644--- a/packages/features/components/phone-input/PhoneInput.tsx+++ b/packages/features/components/phone-input/PhoneInput.tsx@@ -11,6 +11,11 @@ import { useBookerStore, type CountryCode } from "@calcom/features/bookings/Bookimport { trpc } from "@calcom/trpc/react";import classNames from "@calcom/ui/classNames";+const CUSTOM_PHONE_MASKS = {+ ci: ".. .. .. .. ..",+ bj: ".. .. .. .. ..",+};+export type PhoneInputProps = {value?: string;id?: string;@@ -67,6 +72,7 @@ function BasePhoneInput({enableSearchdisableSearchIconcountry={effectiveDefaultCountry}+ masks={CUSTOM_PHONE_MASKS}inputProps={{name,required: rest.required,@@ -118,6 +124,7 @@ function BasePhoneInputWeb({country={value ? undefined : defaultCountry}enableSearchdisableSearchIcon+ masks={CUSTOM_PHONE_MASKS}inputProps={{name,required: rest.required,