fix(widgets/toggle): double event triggering when in menu

This commit is contained in:
Elian Doran 2025-12-10 20:30:55 +02:00
parent efb2f9a048
commit 483327c808
No known key found for this signature in database

View File

@ -146,9 +146,10 @@ export function FormListToggleableItem({ title, currentValue, onChange, ...props
}
}}>
<FormToggle
switchOnName={title} switchOffName={title}
switchOnName={title}
switchOffName={title}
currentValue={currentValue}
onChange={onChange}
onChange={() => {}}
/>
</FormListItem>
);