mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 15:23:40 -07:00
Fixed: Checkbox can be checked when disabled
This commit is contained in:
parent
8624ff5c6a
commit
026a2cace5
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ class CheckInput extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
onClick = (event) => {
|
onClick = (event) => {
|
||||||
|
if (this.props.isDisabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const shiftKey = event.nativeEvent.shiftKey;
|
const shiftKey = event.nativeEvent.shiftKey;
|
||||||
const checked = !this._checkbox.checked;
|
const checked = !this._checkbox.checked;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue