From 7a8a2c76876fec3568445f6db3a2edb0eb327ea5 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Mon, 15 Dec 2025 08:45:28 +1100 Subject: [PATCH] Send inner props to CheckboxSelect Option (#6411) Fixes onChange handler not being called --- ui/v2.5/src/components/Shared/Select.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/Shared/Select.tsx b/ui/v2.5/src/components/Shared/Select.tsx index ec0fb4ea9..4ad9a51c9 100644 --- a/ui/v2.5/src/components/Shared/Select.tsx +++ b/ui/v2.5/src/components/Shared/Select.tsx @@ -516,7 +516,10 @@ export const CheckBoxSelect: React.FC = ({ className={`${props.className || ""} ${props.data.className || ""}`} // data values don't seem to be included in props.innerProps by default innerProps={ - { "data-value": props.data.value } as React.DetailedHTMLProps< + { + ...props.innerProps, + "data-value": props.data.value, + } as React.DetailedHTMLProps< React.HTMLAttributes, HTMLDivElement >