Having some issues with the dropdownlist control.
I believe this is a bug.
var data = [{"id": 1,"name": "Selection 1", "data": { "id": 4, "name": "test data 4" } },{"id": 2,"name": "Selection 2", "data": { "id": 5, "name": "test data 5" } }];
$("#htmlElement").kendoDropDownList({
dataTextField: "name",
dataValueField: "id",
dataSource: data,
});
The selection is correct but the data in the drop down when selecting is incorrect.
My API returns a list of objects that have data attached. I would like to keep the "data" child object in my datasource but your dropdownlist does not like it.