Planned
Last Updated: 29 Nov 2023 06:23 by ADMIN
Simonas
Created on: 24 Nov 2023 13:25
Category: ComboBox
Type: Bug Report
0
Combobox arrow key navigation results in a crash

Attempting to select a comboBox value with a down arrow key press when there is only a single item in array results in a crash.

I'm adding a link to a modified version of combobox demo showcasing the error.
Steps for reproduction:

  1. Select comboBox field
  2. Click arrow key down to select first and only entry in the comboBox
1 comment
ADMIN
Wissam
Posted on: 29 Nov 2023 06:23

Hello, Simonas,

Thank you for the provided example.

We are aware of this issue that appears when having a single item and setting the data to an array of objects. We have a GitHub item for this bug, you can track it here:

As a workaround, set the data to an array of primitive values and do not set the `textField` and `dataItemKey` properties when the data length is less than 1:

I hope this helps, but please let me know if you have any further questions.

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!