Skip to content

Scheduling infrastructure for absolutely everyone.

fix: uncheck requires Confirmation For FreeEmail (#22486)

Anik Dhabal Babu3de9c2bda0bf
diff --git a/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.tsx b/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.tsx
index 5615a6d0837..7f8cd85cf23 100644
--- a/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.tsx
+++ b/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.tsx
@@ -104,9 +104,10 @@ export default function RequiresConfirmationController({
LockedIcon={requiresConfirmationLockedProps.LockedIcon}
onCheckedChange={(val) => {
formMethods.setValue("requiresConfirmation", val, { shouldDirty: true });
- // If we uncheck requires confirmation, we also uncheck the "will block slot" checkbox
+ // If we uncheck requires confirmation, we also uncheck these checkboxes
if (!val) {
formMethods.setValue("requiresConfirmationWillBlockSlot", false, { shouldDirty: true });
+ formMethods.setValue("requiresConfirmationForFreeEmail", false, { shouldDirty: true });
}
onRequiresConfirmation(val);
}}>