From 74db4cc8b4b31a157455e62923e011b23e82d527 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 9 Mar 2018 13:01:49 -0500 Subject: [PATCH] invoke click on checkbox --- jslib | 2 +- src/app/directives/box-row.directive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 1f2cf2bcdfd..a3beb04f7e0 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 1f2cf2bcdfddc68a6d9ee0ed732d00c8bec65ad4 +Subproject commit a3beb04f7e09d548bc5223a702f76b9f4e8a4991 diff --git a/src/app/directives/box-row.directive.ts b/src/app/directives/box-row.directive.ts index 8a74a904832..241a5b3f82f 100644 --- a/src/app/directives/box-row.directive.ts +++ b/src/app/directives/box-row.directive.ts @@ -39,7 +39,7 @@ export class BoxRowDirective implements OnInit { if (formEl.tagName.toLowerCase() === 'input') { const inputEl = (formEl as HTMLInputElement); if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') { - inputEl.checked = !inputEl.checked; + inputEl.click(); return; } }