1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00

Merge pull request #8669 from Budibase/fix/view-array-filter-options

Added multiselect/array options support to the view contains filter
This commit is contained in:
deanhannigan 2022-11-14 14:21:17 +00:00 committed by GitHub
commit bccacfe773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]
}