mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -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) => {
|
||||
if (this.props.isDisabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
const shiftKey = event.nativeEvent.shiftKey;
|
||||
const checked = !this._checkbox.checked;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue