Hi everyone,
I have an issue using the KendoEditor with Vue.js. Here is my code :
HTML part :
<div id="vueapp" class="vue-app">
<form id="forme">
<input type='text' class="k-textbox" name='title' id="title" v-model="request.title" />
</form>
<kendo-editor :resizable-content="true"
:resizable-toolbar="true"
:value="request.desc"
style="height:280px"
rows="10"
cols="30">
</kendo-editor>
</div>
Script part for vue:
var vm = new Vue({
el: '#vueapp',
data: function() {
return {
request: {
title: "",
desc: "Write here..."
},
has_deadline: false
}
}, methods: {
test: function(){ alert(this.request.title + this.request.desc)}
}
});
Then, when I change the content of the input "title" (let's say I do "title1") and call the "test" method, an alert comes up with "title1 Write here...".
But when I change the content of the editor (for example, "description1"), the alert comes up with "title1 Write here..." instead of "title1 description1" !
Could someone explain me what I did wrong ? I can not find how to figure out.
Thanks for your help,
Louis