admin管理员组

文章数量:1289509

How do you backslash escape Vue directives in a Kendo UI Template.

I want to escape a v-model on my Kendo UI template.

This is how I tired to escape them but it did not work>

<input type="checkbox"  \# v-model="checked" \# > 

EDIT:

I tried using a double escaped "\#" like this:

 <input type="checkbox"  \\# v-model="checked" \\# >

But it did not work when i examined the page via chrome dev tool this is how the page is displayed:

<input type="checkbox" #="" v-model="checked">

How do you backslash escape Vue directives in a Kendo UI Template.

I want to escape a v-model on my Kendo UI template.

This is how I tired to escape them but it did not work>

<input type="checkbox"  \# v-model="checked" \# > 

EDIT:

I tried using a double escaped "\#" like this:

 <input type="checkbox"  \\# v-model="checked" \\# >

But it did not work when i examined the page via chrome dev tool this is how the page is displayed:

<input type="checkbox" #="" v-model="checked">
Share Improve this question edited Feb 21 at 10:46 temple asked Feb 20 at 5:10 templetemple 231 silver badge3 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

To use a hash # in a kendo template, it needs to be double escaped \\#

本文标签: vuejsEscape backslash in a Kendo Template for a Vue directivesStack Overflow