Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add onChange event listener

dominik-zeglenb2a2201b2985
diff --git a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx b/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
index 57ee6fd6fb..6e948e6f99 100644
--- a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
+++ b/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
@@ -21,6 +21,7 @@ export const ControlledCheckbox: React.StatelessComponent<
checked={checked}
name={name}
onClick={() => onChange({ target: { name, value: !checked } })}
+ onChange={() => onChange({ target: { name, value: !checked } })}
/>
}
label={label}