From 37e6ccdc1ab57432658755bd3d47af6bc706e13a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 27 Aug 2025 16:37:07 +0300 Subject: [PATCH] fix(react/revisions): selection not possible due to new hierarchy --- apps/client/src/widgets/react/FormList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/FormList.tsx b/apps/client/src/widgets/react/FormList.tsx index 74f501b7b..3bf808f87 100644 --- a/apps/client/src/widgets/react/FormList.tsx +++ b/apps/client/src/widgets/react/FormList.tsx @@ -53,7 +53,7 @@ export default function FormList({ children, onSelect, style, fullHeight }: Form ...builtinStyles, position: "relative", }} onClick={(e) => { - const value = (e.target as HTMLElement)?.dataset?.value; + const value = (e.target as HTMLElement).closest("a.dropdown-item")?.dataset?.value; if (value && onSelect) { onSelect(value); }