From e2e20e0ded97c51cb052134cd09a6ea3e81f58d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:14:21 +0300 Subject: [PATCH] Fixed #14737 - Multiselect | headerCheckboxViewChild not found --- src/app/components/multiselect/multiselect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index e51a28054d1..860f82406e8 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1821,7 +1821,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft this.updateModel(value, event); } - DomHandler.focus(this.headerCheckboxViewChild.nativeElement); + DomHandler.focus(this.headerCheckboxViewChild?.nativeElement); this.headerCheckboxFocus = true; event.preventDefault();