EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
parent field get select layout method
Yuri Kuznetsov7b5789e44c2b
diff --git a/client/src/views/fields/link-parent.js b/client/src/views/fields/link-parent.jsindex ee2212af33..8c5ea14fdc 100644--- a/client/src/views/fields/link-parent.js+++ b/client/src/views/fields/link-parent.js@@ -391,6 +391,7 @@ class LinkParentFieldView extends BaseFieldView {createAttributes: createButton ? this.getCreateAttributes() : null,mandatorySelectAttributeList: this.getMandatorySelectAttributeList(),forceSelectAllAttributes: this.isForceSelectAllAttributes(),+ layoutName: this.getSelectLayout(),onSelect: models => {this.select(models[0]);},@@ -753,6 +754,15 @@ class LinkParentFieldView extends BaseFieldView {entityType: entityType,});}++ /**+ * @protected+ * @return {string|undefined}+ * @since 9.1.0+ */+ getSelectLayout() {+ return undefined;+ }}export default LinkParentFieldView;