I need to find a way to just capture the dropdown id, I don't want the whole object like this in my output.
Which prop can I use to capture just my selection ID? For example in a traditional HTML select can I ?
I can't believe kendo doesn't have this solution
<DropDownList
Which prop can I use to capture just my selection ID? For example in a traditional HTML select can I ?
I can't believe kendo doesn't have this solution
<DropDownList
textField={"description"}
dataItemKey={"id"}
value={form?.importLevelId}
onChange={(evt) => {
lists.importLevelId = evt.target.value;
setForm({ ...form, importLevelId: evt.target.value });
}}
data={integrationSetupCombos?.importLevels}/>
My output:
My output: