This is a migrated thread and some comments may be shown as answers.

MultiSelect GroupTagTemplate not working

1 Answer 284 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sebastian
Top achievements
Rank 1
Sebastian asked on 23 Jan 2018, 03:01 PM

Dear Telerik Team,

I have an issue using the kendoMultiSelectGroupTagTemplate in Angular. I copied the example from inline documentation:

<kendo-multiselect kendoSummaryTag [data]="items">
  <ng-template kendoMultiSelectGroupTagTemplate let-dataItems>
    <span>{{dataItems.length}} item(s) selected</span>
  </ng-template>
</kendo-multiselect>

But still all items are displayed. Grouping is not applied, see attached screenshot. Can you please cross check and tell me how to implement a MultiSelect in Angular that just displays "2 items selected"?

Thanks and kind regards,

Sebastian

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 24 Jan 2018, 11:47 AM
Hi Sebastian,

Indeed, there is a syntax mistake in the described example. The selector for the SummaryTag directive is "kendoMultiSelectSummaryTag" instead of "kendoSummaryTag":

https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/SummaryTagDirective/

Here is the updated example:

https://plnkr.co/edit/5mFtk76jjphDYOjts0uc?p=preview

We will make sure to update the example in the documentation accordingly.

Thank you for bringing this issue to our attention, and please accept my apologies for any inconvenience caused.

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or