fix(settings): do not enforce allowMultiple set for selection settings

This commit is contained in:
2026-06-04 15:08:33 +02:00
parent 4584fd92d1
commit 6731b1981b
@@ -69,7 +69,7 @@ export const validateEntry = function validateEntry (entry, path) {
}
if (entry.type === 'selection') {
validateSelectionOptions(entry.options, path);
if (typeof entry.allowMultiple !== 'boolean') {
if (typeof entry.allowMultiple !== 'boolean' && entry.allowMultiple) {
throw new Error(`[settings] "${path}.allowMultiple" must be a boolean`);
}
}