From 81b4651d6e90c08f77eb81277dfb6078e376e3e9 Mon Sep 17 00:00:00 2001 From: Ronit Raj Date: Tue, 29 Apr 2025 08:31:20 +0530 Subject: [PATCH] fix: UI Bug - ToggleGroup (#20997) * fix #20986: UI Bug - ToggleGroup * some changes * some changes --- packages/features/webhooks/components/WebhookForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/webhooks/components/WebhookForm.tsx b/packages/features/webhooks/components/WebhookForm.tsx index 4bc4a84d23..6afce5eb9b 100644 --- a/packages/features/webhooks/components/WebhookForm.tsx +++ b/packages/features/webhooks/components/WebhookForm.tsx @@ -324,7 +324,7 @@ const WebhookForm = (props: { setUseCustomTemplate(true); } }} - defaultValue={value ? "custom" : "default"} + value={useCustomTemplate ? "custom" : "default"} options={[ { value: "default", label: t("default") }, { value: "custom", label: t("custom") },