I'm having trouble getting the kendo-dropdownlist for VUE working inside a custom component. The component renders, there's no errors in the console, but no options are shown in the list.
I've broken the code down into this bit:
<template>
<div>
<kendo-dropdownlist
:data-items="months"
:text-field="'text'"
:data-item-key="'value'"
></kendo-dropdownlist>
</div>
</template>
<script>
export default {
name: "demo",
data() {
return {
months: [
{
text: "January",
value: 1,
numDays: 31
},
{
text: "February",
value: 2,
numDays: 28
},
{
text: "March",
value: 3,
numDays: 31
}
]
};
}
};
</script>
Does anyone see what I'm doing wrong?