Closed kendo-bot closed 10 months ago
As a temporary workaround, the checkboxes could be declared via a template:
.Checkboxes(c=>c.Template("<input type='checkbox' value='true' />"))
The behavior is no longer reproducible. Here are two sample REPLs (v2023.2.1010) rendering a TreeView/DropDownTree in a ClientTemplate, with checkboxes enabled:
Bug report
When the Kendo UI TreeView (DropDownTree as well) is nested inside a template and the Checkboxes(true) property is set, Invalid Template error is thrown.
Expected/desired behavior
The templates of the Checkboxes have to be automatically escaped when the widget is nested inside a template.
Reproduction of the problem
<script type="text/x-kendo-template" id="template">
</script>
Environment