c-select-many-to-many
A multi-select dropdown component that allows for selecting values fetched from the generated /list API endpoints for collection navigation properties that were annotated with [ManyToMany].
TIP
It is unlikely that you'll ever need to use this component directly - it is highly recommended that you use c-input instead and let it delegate to c-select-many-to-many for you.
Examples
template
<c-select-many-to-many :model="case" for="caseProducts" />template
<c-select-many-to-many
:model="case"
for="caseProducts"
variant="outlined"
density="compact"
/>Props
See c-select / Props.
Since c-select-many-to-many internally uses c-select as its implementation, all props of c-select are also supported by c-select-many-to-many.
Events
The following events and automatic API calls are only used when bound to a model that has auto-saves enabled.
adding- Fired when a new item has been selected, but before the call to/savehas completed.added- Fired when the call to/savehas completed after adding a new item.deleting- Fired when an item has been removed, but before the call to/deletehas completed.deleted- Fired when the call to/deletehas completed after removing an item.