EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
foreign enum label type
Yuri Kuznetsov310778a01860
diff --git a/client/src/views/fields/foreign-enum.js b/client/src/views/fields/foreign-enum.jsindex 2eef711167..30ee119f49 100644--- a/client/src/views/fields/foreign-enum.js+++ b/client/src/views/fields/foreign-enum.js@@ -61,6 +61,7 @@ class ForeignEnumFieldView extends EnumFieldView {isSorted,displayAsLabel,style,+ labelType,} = fieldDefs;options = optionsPath ? this.getMetadata().get(optionsPath) : options;@@ -69,6 +70,7 @@ class ForeignEnumFieldView extends EnumFieldView {this.params.translation = translation;this.params.isSorted = isSorted || false;this.params.displayAsLabel = displayAsLabel || false;+ this.params.labelType = labelType;this.styleMap = style || {};this.translatedOptions = Object.fromEntries(