I have an input tag like this:
<input id="ddlType" tabindex="4" />
and I am converting this field into a kendo ComboBox widget like this:
$("#ddlType").kendoComboBox({
dataTextField: "text",
dataValueField: "value",
dataSource: [
{ text: "type1", value: "0" },
{ text: "type2", value: "1" }
]
});
But I am getting three values in dropdown with first value as blank. I need to remove blank and set type1 option as selected by default.
How do I achieve this?