From 42db539b0c5057bc7b001860530197fff6e59769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtek=20Rais?= Date: Mon, 5 Feb 2024 14:16:25 +0100 Subject: [PATCH] Fixed #14554 --- src/app/components/api/translationkeys.ts | 2 +- src/app/components/multiselect/multiselect.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/api/translationkeys.ts b/src/app/components/api/translationkeys.ts index ca48602cfa6..1c1f803cc23 100644 --- a/src/app/components/api/translationkeys.ts +++ b/src/app/components/api/translationkeys.ts @@ -43,5 +43,5 @@ export class TranslationKeys { public static readonly EMPTY_FILTER_MESSAGE = 'emptyFilterMessage'; public static readonly SHOW_FILTER_MENU = 'showFilterMenu'; public static readonly HIDE_FILTER_MENU = 'hideFilterMenu'; - public static readonly SELECTION_MESSAGE = '{0} items selected'; + public static readonly SELECTION_MESSAGE = 'selectionMessage'; } diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index b8ef582a3bb..188dc4d9b85 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -517,7 +517,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft * Label to display after exceeding max selected labels e.g. ({0} items selected), defaults "ellipsis" keyword to indicate a text-overflow. * @group Props */ - @Input() selectedItemsLabel: string = '{0} items selected'; + @Input() selectedItemsLabel: string | undefined; /** * Whether to show the checkbox at header to toggle all items at once. * @group Props