EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
address field metadata independent
Yuri Kuznetsov88565e2e19d6
diff --git a/client/src/views/fields/address.js b/client/src/views/fields/address.jsindex 24cdb9cbea..0330b1d90e 100644--- a/client/src/views/fields/address.js+++ b/client/src/views/fields/address.js@@ -469,7 +469,14 @@ class AddressFieldView extends BaseFieldView {setup() {super.setup();- const actualAttributePartList = this.getMetadata().get(['fields', this.type, 'actualFields']) || [];+ const actualAttributePartList = this.getMetadata().get(['fields', this.type, 'actualFields']) ||+ [+ 'street',+ 'city',+ 'state',+ 'country',+ 'postalCode',+ ];this.addressAttributeList = [];this.addressPartList = [];