Skip to content

Commit

Permalink
Merge pull request #14859 from primefaces/issue-14567
Browse files Browse the repository at this point in the history
Fixed #14567 - Dropdown | If editable = true and filter = true and yo…
  • Loading branch information
cetincakiroglu authored Feb 22, 2024
2 parents a1c0139 + 36a383e commit 1e05fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
if (this.filterViewChild && this.filterViewChild.nativeElement) {
this.preventModelTouched = true;

if (this.autofocusFilter) {
if (this.autofocusFilter && !this.editable) {
this.filterViewChild.nativeElement.focus();
}
}
Expand Down

0 comments on commit 1e05fbc

Please sign in to comment.