Added multiselect/array options support to the view contains filter
This commit is contained in:
parent
0cf55b933e
commit
0619fcd281
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function fieldOptions(field) {
|
function fieldOptions(field) {
|
||||||
return schema[field]?.type === "options"
|
return schema[field]?.type === "options" || schema[field]?.type === "array"
|
||||||
? schema[field]?.constraints.inclusion
|
? schema[field]?.constraints.inclusion
|
||||||
: [true, false]
|
: [true, false]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue