Skip to content

Commit e29d2ea

Browse files
committed
fix: boolean field not being unchecked on reset
1 parent a2c443e commit e29d2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Form/BooleanField/BooleanFieldCheckbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const BooleanFieldCheckbox = ({
2525
<FieldGroup name={name}>
2626
<FieldGroup.Row>
2727
<Checkbox
28-
checked={value}
28+
checked={Boolean(value)}
2929
disabled={disabled || readOnly}
3030
id={name}
3131
name={name}

0 commit comments

Comments
 (0)