Completed
Last Updated: 05 Jan 2024 15:28 by ADMIN
Dan
Created on: 30 Sep 2019 16:12
Category: MultiColumnComboBox
Type: Bug Report
0
ComboBox select event data contains info about a previously selected item

Bug report

ComboBox and MultiColumnComboBox

Reproduction of the problem

Dojo example. Open the browser console and follow the steps below:

  1. Select an item
  2. The "select" event fires and, as expected, e.item and e.dataItem contain info about the selected item.
  3. Press Backspace key to delete a character from the text in the input
  4. Blur the widget
  5. "select" fires: e.item and e.dataItem do not return data (expected)
  6. Focus the widget and delete another character.
  7. Blur the widget

Current behavior

After 7. e.item and e.dataItem contain data about an old selection - the item selected in 1.

Expected/desired behavior

e.item and e.dataItem should not contain data, because a custom value is set in the ComboBox and no item in the dataSource is selected.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [all]
0 comments