Hello,
I have a ListView and template defined as follows:
<ul data-role="listview"
id="multiactivity-listview"
data-bind="source: activityTypeDataSource"
data-template="multiactivity-template"
data-filterable="{field: 'name', operator: 'contains', placeholder: 'Search Activity'}">
</ul>
<script type="text/x-kendo-template" id="multiactivity-template">
<label>
<input data-id="${data.id}" type="checkbox" />
${data.name}
</label>
</script>
This works great until the user enters any filter text, and then all the checkboxes get cleared. Is there a recommended approach to solve this? I have tried to data-bind to either the checked binding or doing something within the template using #= # scripts but cannot seem to solve it.
Thanks,
Ben.