Allow selecting many for many-to-many

This commit is contained in:
Adria Navarro 2023-10-03 14:05:25 +02:00
parent 614bbb0412
commit b2429e1fe0
1 changed files with 3 additions and 2 deletions

View File

@ -306,8 +306,9 @@
{:else if filter.type === FieldType.BB_REFERENCE} {:else if filter.type === FieldType.BB_REFERENCE}
<FilterUsers <FilterUsers
bind:value={filter.value} bind:value={filter.value}
multiselect={filter.operator === multiselect={getSchema(filter).relationshipType ===
OperatorOptions.ContainsAny.value} RelationshipType.MANY_TO_MANY ||
filter.operator === OperatorOptions.ContainsAny.value}
disabled={filter.noValue} disabled={filter.noValue}
/> />
{:else} {:else}