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.
2 parents d074f20 + 7492ecf commit 70d9e4dCopy full SHA for 70d9e4d
1 file changed
packages/ra-ui-materialui/src/input/BooleanInput.tsx
@@ -79,7 +79,7 @@ export const BooleanInput = (props: BooleanInputProps) => {
79
color="primary"
80
onChange={handleChange}
81
onFocus={onFocus}
82
- checked={field.value}
+ checked={Boolean(field.value)}
83
{...sanitizeInputRestProps(rest)}
84
{...options}
85
disabled={disabled}
0 commit comments