Skip to content

Commit

Permalink
fix: #14057 || MultiSelect Empty Filter Message / Template is not wor…
Browse files Browse the repository at this point in the history
…king when you have options
  • Loading branch information
ashikjs committed Nov 13, 2023
1 parent 09d96d8 commit cb08919
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 @@ -1306,7 +1306,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
}

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

getOptionIndex(index, scrollerOptions) {
Expand Down

0 comments on commit cb08919

Please sign in to comment.