Declined
Last Updated: 20 Jun 2024 10:47 by ADMIN
Rick Kauwen
Created on: 13 Jun 2024 16:45
Category: Kendo UI for jQuery
Type: Feature Request
0
implement content security policy for mvvm templates
In javascript code it is now possible to create csp compatible templates. It would be nice to have the possibility also for mvvm style templates.
1 comment
ADMIN
Nikolay
Posted on: 20 Jun 2024 10:47

Hello Rick,

I am afraid mvvm style templates are not possible.

In an MVVM approach, the only way to set templates would be to use setOptions after the components are initialized and assign functional templates, not external ones. External templates are treated as strings, which means they need to be evaluated with either `eval` or `new Function` and this is not CSP compatible.

Regards,
Nikolay
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources