Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
teams | Array | - | Yes | - |
currentTeamId | String | - | Yes | - |
currentSeasonTeamId | String | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
teamId | String|null | null | - |
seasonId | String|null | null | - |
memberIds | Array | - | - |
Computed
| Name | Type | Description |
|---|---|---|
teamOptions | Array | - |
selectedTeam | Object|null | - |
seasonOptions | Array | - |
selectedSeasonTeam | Object|null | - |
memberOptions | Array | - |
teamIdIsValid | Boolean | - |
teamIdStateFeedback | String|null | - |
seasonIdIsValid | Boolean | - |
seasonIdStateFeedback | String|null | - |
memberIdsIsValid | Boolean | - |
memberIdsStateFeedback | String|null | - |
Events
| Name | Payload Type | Description |
|---|---|---|
import | Array | - |
Example
<template>
<ImportMemberModal ref="importMemberModal" :teams="teams" currentTeamId="1" currentSeasonTeamId="2" @import="handler" />
<Button @click="() => $refs.importMemberModal.open()" />
</template>