array field: override allowCustomOptions false

This commit is contained in:
Yuri Kuznetsov
2025-11-13 18:12:26 +02:00
parent c426a637fe
commit 94d2f6aabb

View File

@@ -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')
}