EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
array field: override allowCustomOptions false
Yuri Kuznetsov94d2f6aabb58
diff --git a/client/src/views/fields/array.js b/client/src/views/fields/array.jsindex fee07fe20e..432767bbbe 100644--- a/client/src/views/fields/array.js+++ b/client/src/views/fields/array.js@@ -256,6 +256,10 @@ class ArrayFieldView extends BaseFieldView {this.allowCustomOptions = true;}+ if (this.params.allowCustomOptions === false) {+ this.allowCustomOptions = false;+ }+if (this.type === 'array') {this.validations.push('noInputValue')}