Skip to content

Commit

Permalink
Merge pull request #14406 from mati4455/bugfix/fix-no-results-found-o…
Browse files Browse the repository at this point in the history
…n-dropdown

fix: Dropdown Empty Filter Message not displayed
  • Loading branch information
cetincakiroglu committed Dec 20, 2023
2 parents c3ccdfd + 1df98b1 commit 2b7dfb1
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 @@ -1187,7 +1187,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
}

isEmpty() {
return !this._options() || (this._options() && this._options().length === 0);
return !this._options() || (this.visibleOptions() && this.visibleOptions().length === 0);
}

onEditableInput(event: KeyboardEvent) {
Expand Down

0 comments on commit 2b7dfb1

Please sign in to comment.