mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
array field: override allowCustomOptions false
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user