With previous versions of the Kendo dropdowns I could just v-model only the ID of dataitems and end up with a simple array of values like so:
or just a single value like number "1" in case of DropDownList
Is there a way I can achieve this result with the new 3.2.6 dropdowns but less verbose than this?
Jvxgxy (forked) - StackBlitz
[1, 2, 3, 4]
Is there a way I can achieve this result with the new 3.2.6 dropdowns but less verbose than this?
Jvxgxy (forked) - StackBlitz
I have inspected the example and it seems like you have found a way to get the ids of the model with the help of the computed setter. Indeed currently there is not inbuilt configuration in the component to achieve this yet we have a feature request for a similar behavior - https://feedback.telerik.com/kendo-vue-ui/1543307-add-valueprimitive-property-in-the-dropdownlist-component
If you have any specific idea about such feature or if you have further questions please don't hesitate to let us know.
I think this is quite an essential feature to include for the dropdowns especially when communicating with API's which often only care about the primitive values (for example the ID in a particular list item) and not the list items itself
Thank you for this feedback!
We have inspected the feature once again and it seems quite important and wanted indeed. Having this in mind we have planned its implementation and will do our best to have it done by mid June or the beginning of July.
Please follow the feedback portal item for any updates. If you have more questions or you observe other issues please don't hesitate to let us know.