Trigger click when click on label. (#5005)

This commit is contained in:
Shavindra 2023-04-18 13:12:27 +01:00 committed by GitHub
parent bba1c0ee39
commit 479e30ac7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export default Component.extend(ModalBase, {
const check = $('input[type=checkbox]', $row)[0]; // eslint-disable-line
if ( check && e.target !== check && e.target.tagName !== 'LABEL' ) {
check.checked = !check.checked;
check.click();
}
}
},