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.
2 parents 0f92954 + 8b765d6 commit 877c665Copy full SHA for 877c665
src/json-schema-editor.vue
@@ -410,7 +410,7 @@ export default {
410
const ranName = 'field_' + uuid()
411
const propertiesData = get(this.schemaData, parentPrefix)
412
newPropertiesData = Object.assign({}, propertiesData)
413
- newPropertiesData[ranName] = defaultSchema.string
+ newPropertiesData[ranName] = cloneDeep(defaultSchema.string)
414
const cloneSchema = cloneDeep(this.schemaData)
415
set(cloneSchema, parentPrefix, newPropertiesData)
416
0 commit comments