mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-01 14:29:04 +00:00
Fixed: Checkbox can be checked when disabled
This commit is contained in:
@@ -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