EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
field view: fromField handling
Yuri Kuznetsov162e05449c2c
diff --git a/client/src/views/fields/base.js b/client/src/views/fields/base.jsindex 619887de25..241b33853e 100644--- a/client/src/views/fields/base.js+++ b/client/src/views/fields/base.js@@ -875,7 +875,7 @@ class BaseFieldView extends View {this.attributeList = this.getAttributeList(); // for backward compatibility, to be removedthis.listenTo(this.model, 'change', (model, options) => {- if (options.ui) {+ if (options.ui && (!options.fromField || options.fromField === this.name)) {return;}@@ -950,6 +950,7 @@ class BaseFieldView extends View {this.model.set(attributes, {ui: true,fromView: this,+ fromField: this.name,action: 'ui',});});