Skip to content

Scheduling infrastructure for absolutely everyone.

Improve phone number input (#3472)

Carina Wollendorfer33e79c8ad516
diff --git a/apps/web/components/ui/form/PhoneInput.tsx b/apps/web/components/ui/form/PhoneInput.tsx
index 53440046b5d..8b14bad65d5 100644
--- a/apps/web/components/ui/form/PhoneInput.tsx
+++ b/apps/web/components/ui/form/PhoneInput.tsx
@@ -15,6 +15,7 @@ function PhoneInput<FormValues>({ control, name, ...rest }: PhoneInputProps<Form
return (
<BasePhoneInput
{...rest}
+ international
name={name}
control={control}
countrySelectProps={{ className: "text-black" }}
diff --git a/apps/web/ee/components/workflows/WorkflowStepContainer.tsx b/apps/web/ee/components/workflows/WorkflowStepContainer.tsx
index 9c1dd6f2d7e..6e43b9bc26e 100644
--- a/apps/web/ee/components/workflows/WorkflowStepContainer.tsx
+++ b/apps/web/ee/components/workflows/WorkflowStepContainer.tsx
@@ -231,6 +231,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
<div className="flex space-y-1">
<div className="mt-1 ">
<PhoneInput
+ international
value={sendTo}
onChange={(newValue) => {
if (newValue) {