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 f5ad8b5 commit fdda2bdCopy full SHA for fdda2bd
src/JsonEditor.vue
@@ -115,7 +115,7 @@
115
}
116
const fieldName = field.name;
117
118
- const fieldValue = getChild(this.data, fieldName.split('.'));
+ const fieldValue = getChild(this.value, fieldName.split('.'));
119
if (!field.value) {
120
field.value = fieldValue;
121
@@ -343,7 +343,7 @@
343
/**
344
* Reset the value of all elements of the parent form.
345
*/
346
- reset(e) {
+ reset() {
347
for (const key in this.data) {
348
const ns = key.split('.');
349
const n = ns.pop();
0 commit comments