We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7172608 commit 2269ad8Copy full SHA for 2269ad8
src/Component.ts
@@ -133,7 +133,6 @@ export default defineComponent({
133
() => props[modelValueProp],
134
(newModelValue: any) => {
135
if (preventUpdatingContent.value) {
136
- preventUpdatingContent.value = false
137
return
138
}
139
if (jsonEditor.value) {
@@ -145,7 +144,9 @@ export default defineComponent({
145
144
// Only default value can clear the editor
146
? { text: '' }
147
: { json: newModelValue },
148
- )
+ ).then(() => {
+ preventUpdatingModelValue.value = false
149
+ })
150
151
},
152
{
0 commit comments