Skip to content

EspoCRM – Open Source CRM Application

array field: override allowCustomOptions false

Yuri Kuznetsov94d2f6aabb58
diff --git a/client/src/views/fields/array.js b/client/src/views/fields/array.js
index 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')
}