From e0f7d65f77440188866b9ea68edc7312544c3c5c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 10 Dec 2025 18:24:31 +0200 Subject: [PATCH] feat(widgets): toggle from label --- apps/client/src/widgets/react/FormList.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/FormList.tsx b/apps/client/src/widgets/react/FormList.tsx index 95a105262..92c021c55 100644 --- a/apps/client/src/widgets/react/FormList.tsx +++ b/apps/client/src/widgets/react/FormList.tsx @@ -139,7 +139,10 @@ export function FormListToggleableItem({ title, currentValue, onChange, ...props onChange(newValue: boolean): void; }) { return ( - e.stopPropagation()}> + { + e.stopPropagation(); + onChange(!currentValue); + }}>