mirror of https://github.com/lidarr/Lidarr
Fixed: Checkbox can be checked when disabled
This commit is contained in:
parent
8624ff5c6a
commit
026a2cace5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue