Skip to content

Commit

Permalink
Merge pull request #14388 from umuero/master
Browse files Browse the repository at this point in the history
multiselect.autofocusFilter fixed
  • Loading branch information
cetincakiroglu authored Dec 20, 2023
2 parents 6314b04 + 00d16c3 commit 8433e32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1916,6 +1916,15 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
}
}
}

if (this.filterInputChild && this.filterInputChild.nativeElement) {
this.preventModelTouched = true;

if (this.autofocusFilter) {
this.filterInputChild.nativeElement.focus();
}
}

this.onPanelShow.emit();
case 'void':
this.itemsWrapper = null;
Expand Down

0 comments on commit 8433e32

Please sign in to comment.