From cb0891972445dc90e6ae4b92f726ac062b60c486 Mon Sep 17 00:00:00 2001 From: ashikjs Date: Mon, 13 Nov 2023 16:40:29 +0600 Subject: [PATCH] fix: #14057 || MultiSelect Empty Filter Message / Template is not working when you have options --- src/app/components/multiselect/multiselect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index a5f7c8db426..14e552961e8 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -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) {