mirror of
https://github.com/acid-info/lsd.git
synced 2025-02-05 05:33:41 +00:00
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…
x
Reference in New Issue
Block a user