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

Multi-select (turnoff its multi-select functionality)

2 Answers 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Akarsh
Top achievements
Rank 1
Veteran
Akarsh asked on 25 May 2020, 03:13 PM

https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/filtering/

For reference, please verify above link.

 

Please find the attached and i want the output like attached.

2 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 27 May 2020, 09:16 AM

Hi Akarsh,

The desired behavior is not supported as it seems unnatural for a MultiSelect component to have single selection by design.

A possible approach to limit the selection to a single item is to handle the valueChange event, and set the value manually like in the following example:

https://stackblitz.com/edit/angular-qwhqpa?file=app/app.component.ts

However perhaps a more straight-forward option would be to use a ComboBox or DropDownList component that are designed for single selection, and it comes out-of-the-box:

https://www.telerik.com/kendo-angular-ui/components/dropdowns/combobox/

https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Akarsh
Top achievements
Rank 1
Veteran
answered on 28 May 2020, 04:01 PM
Hey thanks,  stackblitz ex suits well for my question... 
Tags
General Discussions
Asked by
Akarsh
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Akarsh
Top achievements
Rank 1
Veteran
Share this question
or