chore: fixes console errors for checkboxes (#3291)

This commit is contained in:
Jarrod Flesch
2023-09-07 09:11:35 -04:00
committed by GitHub
parent 364014a1e9
commit 5e1bed3177

View File

@@ -49,7 +49,7 @@ export const CheckboxInput: React.FC<CheckboxInputProps> = (props) => {
type="checkbox"
name={name}
aria-label={ariaLabel}
checked={Boolean(checked)}
defaultChecked={Boolean(checked)}
disabled={readOnly}
onInput={onToggle}
/>