I was able to do it using a template:
But I have two problems:
1) Once I click DDL is collapsed again so every time I need to click again
2) How can I get the list of selected items ? My datasource fields are: id and description.
Thanks!
This is my Code:
<ejs-dropdownlist id="tienda" ref="tienda" placeholder="Tienda" :itemTemplate="tiendaTemplate" :dataSource="tiendaSource" :fields="fields">
</ejs-dropdownlist>
//function to display template
tiendaTemplate: function () {
return {
template: Vue.component('itemTemplate', {
template: `<span><span><input type="checkbox" id="{data.id}"></input></span><span> </span><span>{{data.description}}</span></span>`,
data() {
return {
data: {}
};
}
})
};
},