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

Checking for selected values for AutoCompleteBox

1 Answer 59 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 2
Iron
Iron
Veteran
Benjamin asked on 18 Dec 2020, 08:25 AM
Would like check if it is possible to not allow user from selecting items from the list when it has already being selected?

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 22 Dec 2020, 03:40 PM

Hello Benjamin,

If you need an item to be selected only once, I recommend checking the MultiSelect control:

Otherwise, you can cancel the OnClientEntryAdding event if there is already a token with the same value:

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
AutoCompleteBox
Asked by
Benjamin
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Peter Milchev
Telerik team
Share this question
or