joaomede / vue3-json-editor

A jsoneditor of vue 3 (next) - (fork vue-json-editor)
ISC License
45 stars 29 forks source link

v-model should be two way binding #24

Open DoubleJ-G opened 2 years ago

DoubleJ-G commented 2 years ago

Currently using a variable in v-model="json" will correctly set the initial value of the editor, but any changes will not be updated on thejsonvariable. To correctly update this the component should emit aupdate:modelValue` event with the new value

TerryDieckmann commented 2 years ago

I'm also experiencing this problem now.