Files
swiss-client/src/app/components/substitute-selection/substitute-selection.component.html
Michel ten Voorde 929fd6b581
Some checks failed
Gitea/swiss-client/pipeline/head There was a failure building this commit
WIP: substitutions
2025-09-10 10:35:15 +02:00

24 lines
748 B
HTML

<mat-dialog-content>
<h3>Kies een invaller voor {{ data.player.name }}:</h3>
<div class="col-md-6">
<mat-form-field appearance="fill">
<mat-label>Invaller</mat-label>
<mat-select [(ngModel)]="substitute">
<mat-option>Geen</mat-option>
@for (player of data.availablePlayers; track player.playerId) {
<mat-option [value]="player">
{{ player.name }}
</mat-option>
}
</mat-select>
</mat-form-field>
</div>
</mat-dialog-content>
<mat-dialog-actions>
@if (substitute) {
<button mat-button [mat-dialog-close]="{substitute: substitute}">Invaller selecteren</button>
}
<button mat-button (click)="onAnnulerenClick()">Annuleren</button>
</mat-dialog-actions>