Added multiselect/array options support to the view contains filter

This commit is contained in:
Dean 2022-11-13 18:16:04 +00:00
parent 1ecc6a42b4
commit 9974f78d5b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@
}
function fieldOptions(field) {
return schema[field]?.type === "options"
return schema[field]?.type === "options" || schema[field]?.type === "array"
? schema[field]?.constraints.inclusion
: [true, false]
}