invoke click on checkbox
This commit is contained in:
parent
f45f511fcd
commit
74db4cc8b4
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 1f2cf2bcdfddc68a6d9ee0ed732d00c8bec65ad4
|
Subproject commit a3beb04f7e09d548bc5223a702f76b9f4e8a4991
|
|
@ -39,7 +39,7 @@ export class BoxRowDirective implements OnInit {
|
||||||
if (formEl.tagName.toLowerCase() === 'input') {
|
if (formEl.tagName.toLowerCase() === 'input') {
|
||||||
const inputEl = (formEl as HTMLInputElement);
|
const inputEl = (formEl as HTMLInputElement);
|
||||||
if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') {
|
if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') {
|
||||||
inputEl.checked = !inputEl.checked;
|
inputEl.click();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue