Skip to content

Commit

Permalink
Merge pull request #14766 from primefaces/issue-14737
Browse files Browse the repository at this point in the history
Fixed #14737 - Multiselect | headerCheckboxViewChild not found
  • Loading branch information
cetincakiroglu authored Feb 13, 2024
2 parents 02652f6 + e2e20e0 commit c24ac49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,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();
Expand Down

0 comments on commit c24ac49

Please sign in to comment.