We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae1e39 commit c72e780Copy full SHA for c72e780
statshouse-ui/src/admin/pages/FormPage.tsx
@@ -458,7 +458,7 @@ export function EditForm(props: { isReadonly: boolean; adminMode: boolean; isHis
458
name="visible"
459
type="checkbox"
460
className="form-check-input"
461
- checked={values.visible || !values.disable}
+ checked={values.visible}
462
onChange={(e) => dispatch({ visible: e.target.checked, disable: !e.target.checked })}
463
disabled={isReadonly}
464
/>
0 commit comments