fix: fix Checkbox input's disabled state

This commit is contained in:
Hossein Mehrabi 2023-02-28 12:23:33 +03:30
parent 29a5f2b09c
commit 907dc4b5d0
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ export const Checkbox: React.FC<CheckboxProps> & {
<input
ref={ref}
type="checkbox"
disabled={disabled}
checked={input.value}
onChange={input.onChange}
defaultChecked={defaultChecked}