Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
choreo | Object | - | Yes | - |
participants | Array | - | Yes | - |
nonParticipants | Array | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
memberToReplaceId | String|null | null | - |
memberToSubInId | String|null | null | - |
Computed
| Name | Type | Description |
|---|---|---|
participantOptions | Array | - |
nonParticipantOptions | Array | - |
memberToReplaceIdIsValid | Boolean | - |
memberToReplaceIdStateFeedback | String|null | - |
memberToSubInIdIsValid | Boolean | - |
memberToSubInIdStateFeedback | String|null | - |
Events
| Name | Payload Type | Description |
|---|---|---|
substitution | Object | - |
Example
<template>
<ParticipantSubstitutionModal ref="participantSubstitutionModal" :choreo="choreoObj" :participants="p" :nonParticipants="np" @substitution="handler" />
<Button @click="() => $refs.participantSubstitutionModal.open()" />
</template>