Reflect AI changes on form fields editor
This commit is contained in:
parent
5ba010a493
commit
0de67278fc
|
@ -209,7 +209,19 @@ export default {
|
||||||
handler() {
|
handler() {
|
||||||
this.$set(this.form, 'properties', this.formFields)
|
this.$set(this.form, 'properties', this.formFields)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
'form.properties':{
|
||||||
|
deep: true,
|
||||||
|
handler() {
|
||||||
|
// If different, then update
|
||||||
|
if (this.form.properties.length !== this.formFields.length ||
|
||||||
|
JSON.stringify(this.form.properties) !== JSON.stringify(this.formFields)) {
|
||||||
|
this.formFields = clonedeep(this.form.properties)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in New Issue