From efb2f9a048ab6608ff2bdf9abdaee6c8dc483ce0 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 10 Dec 2025 20:20:21 +0200 Subject: [PATCH] chore(note_actions): reintroduce disabled logic for toggles --- apps/client/src/widgets/react/FormList.tsx | 4 +++- .../client/src/widgets/ribbon/NoteActions.tsx | 21 ++++++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/react/FormList.tsx b/apps/client/src/widgets/react/FormList.tsx index 92c021c55..8be283605 100644 --- a/apps/client/src/widgets/react/FormList.tsx +++ b/apps/client/src/widgets/react/FormList.tsx @@ -141,7 +141,9 @@ export function FormListToggleableItem({ title, currentValue, onChange, ...props return ( { e.stopPropagation(); - onChange(!currentValue); + if (!props.disabled) { + onChange(!currentValue); + } }}> - - - + + + ; }