mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +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) {
|
||||
return spec.subtype === 'enum' ? 'Too many options selected.' : 'List is too long.'
|
||||
}
|
||||
if (spec.subtype === 'enum') return null
|
||||
for (let idx in cfg) {
|
||||
let cursor = this.seekNext(idx)
|
||||
if (cursor.checkInvalid()) {
|
||||
|
||||
Reference in New Issue
Block a user