mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
no uniqueness check on list of enums
This commit is contained in:
committed by
Keagan McClelland
parent
adea594e28
commit
c6347c3ff7
@@ -223,6 +223,7 @@ export class ConfigCursor<T extends ValueType> {
|
|||||||
if (max && length > max) {
|
if (max && length > max) {
|
||||||
return spec.subtype === 'enum' ? 'Too many options selected.' : 'List is too long.'
|
return spec.subtype === 'enum' ? 'Too many options selected.' : 'List is too long.'
|
||||||
}
|
}
|
||||||
|
if (spec.subtype === 'enum') return null
|
||||||
for (let idx in cfg) {
|
for (let idx in cfg) {
|
||||||
let cursor = this.seekNext(idx)
|
let cursor = this.seekNext(idx)
|
||||||
if (cursor.checkInvalid()) {
|
if (cursor.checkInvalid()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user