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

Input is not accepted when pressing Enter too fast

4 Answers 60 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Werner
Top achievements
Rank 1
Werner asked on 04 Dec 2013, 07:57 PM
Hi
We have a problem with ComboBox, that can be reproduced with your online demos.
Our ComboBox should accept every numerical input and not only the items in the corresponding list.
If we enter a number and press Enter immediately, then the input will not be accepted. 
If we wait for a short time before pressing Enter, the new value is accepted correctly.
It seems to me, that the delay (the configuration property) is the time to wait for.
Steps to reproduce the error:
- Go to the basic usage demo of the ComboBox
- Clear the "T-shirt Size" combo
- enter a number and press Enter IMMEDIATELY.
- The message box will tell you, that you ordered the size "X-Small", no matter of  your input
- Repeat the steps but wait a second before pressing Enter. Now the size will be stated correctly, according to your input. 
Thank you for any help!

4 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 05 Dec 2013, 10:11 AM
Hello Ruedi,

You can set the delay option to 0 in order to achieve your goal. Here is how the widget behaves with that setting (digit was entered and Enter was pressed right away).

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
Werner
Top achievements
Rank 1
answered on 05 Dec 2013, 01:31 PM
Hello Georgi
Thank you for your post. 
Delay:0 is not a solution for us, because we don't want the list to appear immediately. 
From my point of view, it is a clear bug. User input shouldn't be lost, no matter of how fast someone presses the Enter key.
Regards
Ruedi
0
Accepted
Georgi Krustev
Telerik team
answered on 09 Dec 2013, 09:54 AM
Hello Ruedi,

Thank you for explaining your position. We decided to improve the current behavior of ComboBox and allow the end user to persist user input on Enter. The improvement will be available in the next internal build due in this week.
As a gratitude for your involvement I updated your Telerik points.

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
Werner
Top achievements
Rank 1
answered on 09 Dec 2013, 04:20 PM
Hello Georgi
This is great news!
Thank you for the good support!
Regards.
Tags
ComboBox
Asked by
Werner
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Werner
Top achievements
Rank 1
Share this question
or