Bug 38201: Add allowMultipleChoices prop to FormRelationshipSelect to consider multiple relationship choices

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2025-02-10 15:51:54 -01:00 committed by Lucas Gass
parent fd129b5d57
commit e3bb34c96a
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
"
:reduce="relatedResource => relatedResource.sip_institution_id"
:options="relatedResourcesOptions"
:multiple="allowMultipleChoices"
:filter-by="filterRelatedResourcesOptions"
v-model="resource[name]"
>
@ -22,6 +23,7 @@ export default {
relationshipAPIClient: Object | null,
resource: Object | null,
name: String | null,
allowMultipleChoices: Boolean | null,
},
data() {
return {