Bug 38201: Add optional :multiple attribute to 'select' form elements

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:49:36 -01:00 committed by Lucas Gass
parent c00992e0fe
commit 02329d47b3
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@
:options="selectOptions"
:required="!resource[attr.name] && attr.required"
:disabled="disabled"
:multiple="attr.allowMultipleChoices"
@option:selected="attr.onSelected && attr.onSelected(resource)"
>
<template v-if="attr.required" #search="{ attributes, events }">