mirror of https://github.com/acid-info/lsd.git
fix: fix Checkbox input's disabled state
This commit is contained in:
parent
29a5f2b09c
commit
907dc4b5d0
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue