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 d7aaba99f4d..e51a28054d1 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -518,7 +518,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