Unplanned
Last Updated: 11 Nov 2019 12:00 by Brent
Brent
Created on: 11 Nov 2019 09:05
Category: ComboBox
Type: Bug Report
0
Incorrect item selected in ComboBox on selection via Enter keypress
Bug report
When submitting a selection in the ComboBox via Enter keypress an incorrect item is selected.

Reproduction of the problem
Run this dojo
Enter 199 in the input field and:
Click outside of the input field - text() returns 199, value() returns 199
Hit Tab key - text() returns 199, value() returns 199
Hit Enter key - text() returns 4, value() returns 199
With Kendo UI versions after 2018.2.516 pressing the Tab key outputs the same result as pressing the Enter key.

Current behavior
An incorrect item from dataSource is being selected on Enter keypress.

Expected/desired behavior
Selection modes should return same item.

Environment
Kendo UI version: 2018.2.516
Browser: [all]
1 comment
Brent
Posted on: 11 Nov 2019 12:00
And to be clear, in the example given, all selection modes should return 199 for the text() method, since 199 isn't a text value in the list.