Skip to content

Commit

Permalink
Fixed #14567 - Dropdown | If editable = true and filter = true and yo…
Browse files Browse the repository at this point in the history
…u start typing, it will search by default but not start editing.
  • Loading branch information
mehmetcetin01140 committed Feb 22, 2024
1 parent fc8747b commit 36a383e
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 @@ -1309,7 +1309,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 36a383e

Please sign in to comment.