mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-21 10:45:12 -04:00
Fixed: Checkbox can be checked when disabled
This commit is contained in:
1 parent
8624ff5c6a
commit
026a2cace5
1 file changed
+4
@@ -69,6 +69,10 @@ class CheckInput extends Component {
|
||||
}
|
||||
|
||||
onClick = (event) => {
|
||||
if (this.props.isDisabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
const shiftKey = event.nativeEvent.shiftKey;
|
||||
const checked = !this._checkbox.checked;
|
||||
|
||||
|
||||
Reference in new issue
Block a user