From 20f7a5841ee74818ef4fd3fa49069f3fdf9e6575 Mon Sep 17 00:00:00 2001 From: Mahesh Bansode <47536121+MaheshB77@users.noreply.github.com> Date: Thu, 4 May 2023 17:35:52 +0530 Subject: [PATCH] Added validation for duration field in the event types (#8649) Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> --- apps/web/components/eventtype/EventSetupTab.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index c985e7a4a8..c3949449fc 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -466,6 +466,7 @@ export const EventSetupTab = ( defaultValue={eventType.length ?? 15} {...formMethods.register("length")} addOnSuffix={<>{t("minutes")}} + min={1} /> )} {!lengthLockedProps.disabled && (