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

Typing a value, rather than selecting it.

1 Answer 6 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 16 Dec 2013, 04:04 PM
I have created a Combobox that allows a user to search through a series of "Code - Description" options in order to select the "Code"...  The Code is what we wnat to have the user select but sometimes they need the description in order to pick the correct one.  I've set up the combobox so that they can start typing any three characters from the code or description and the dropdown list is then filtered to show options that match accordingly.

THis works most of the time, however sometimes the users just know the "Code", which is a 4 digit number.  If they just type in "1234" it doesn't actually "select" it in the combobox...  How can I get it to select the code if they type it into the box?

Thanks,
Jason

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 17 Dec 2013, 12:38 PM
Hello Jason,

I am not sure that I understand what exactly you mean by "actually select". Please check the below screencast, where I tried something similar and it seems to be selecting correctly. Here is the code tested:

http://jsbin.com/EhADEKo/1/edit

http://www.screencast.com/t/JfOgxEHbN5O

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ComboBox
Asked by
Jason
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or