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

Selected items remain visible in list of options

3 Answers 256 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 24 Mar 2015, 05:41 PM
Since upgrading to Q1 2015 release, our users are complaining that when you select an item from a multi-select, that item remains in the list of items that can be added.  Selected items have a class of "k-state-selected" so they show with a different colour background and selecting an item again will remove from the result set, but the behaviour is confusing and annoying to the end-users and I cannot work out how to disable it.

This change is not documented here http://www.telerik.com/support/whats-new/kendo-ui/release-history/q1-2015 and I cannot find any mention of it in the API reference. How do I make multi-selects behave as in the previous release please?

Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Mar 2015, 12:30 PM
Hello Paul,

The described behavior was introduced in Q1 2015 due the virtualization functionality. It wasn't compatible with the dynamic rendering of the UI. The new behavior allows to select/unselect items using keyboard navigation, which before was not possible. Also many users wanted from us to enable this selection behavior due the need to display "checkbox" elements (to keep the selected items visible).

This breaking change is documented in our "Changes and backward compatibility" page.

For now, I would not be able to provide any feasible workaround for this change.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Chris
Top achievements
Rank 1
answered on 18 Jul 2017, 10:23 PM
Are there any accepted solutions for this yet? It is important for us to be able to filter out selected items from the dropdown list. I stumbled upon this post (http://www.telerik.com/forums/multiselect---removing-selected-data-items-from-dropdown-list) but that does not work well with virtualization due to its fixed item height requirement.
0
Nencho
Telerik team
answered on 20 Jul 2017, 08:11 AM
Hello Chris,

I am afraid that in a virtualized multiselect scenario, the intended change in the functionality is not applicable. On the one hand, visually changing the appearance, like demonstrated in the forum post where I have supplied a css solution, is not applicable due to the reason that the multiselect relies on the items height to acquire the different portion of items. On the other hand, since the virtualization is a quite complex implementation - changing dynamically the data source is also not recommended as described in the following limitation section of the documentation article:

http://docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization#known-limitations


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