Beautiful Open-Source Form Builder
Reflect AI changes on form fields editor
Julien Nahum0de67278fccf
diff --git a/resources/js/components/open/forms/components/FormFieldsEditor.vue b/resources/js/components/open/forms/components/FormFieldsEditor.vueindex 98d1fbdd7..82e5317c7 100644--- a/resources/js/components/open/forms/components/FormFieldsEditor.vue+++ b/resources/js/components/open/forms/components/FormFieldsEditor.vue@@ -209,7 +209,19 @@ export default {handler() {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() {