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 69a6f8f commit 0307f97Copy full SHA for 0307f97
src/Component.ts
@@ -96,8 +96,8 @@ export default defineComponent({
96
preventUpdate.value = false
97
return
98
}
99
- // undefined is not accepted by vanilla-jsoneditor
100
- // The default value is { text: '' }
+ // `undefined` is not accepted by vanilla-jsoneditor
+ // The default value is `{ text: '' }`
101
// Only default value can clear the editor
102
preventOnChange.value = true
103
jsonEditor.value.update([undefined, ''].includes(n)
0 commit comments