Merge Anmeldeformular into main #21

Merged
it-as merged 23 commits from Anmeldeformular into main 2024-04-26 14:40:21 +02:00
2 changed files with 0 additions and 41 deletions
Showing only changes of commit e8dccf3b77 - Show all commits

View File

@ -3,37 +3,6 @@
<!--</button>--> <!--</button>-->
<mat-stepper linear #stepper> <mat-stepper linear #stepper>
<!-- Step 0-->
<mat-step [stepControl]="zeroFormGroup" class="firstStep">
<form [formGroup]="zeroFormGroup">
<ng-template matStepLabel>Registration</ng-template>
<div class="flexContainerRow width20">
<mat-checkbox formControlName="danceTraining"
>Für den Tanzunterricht (Tanz-Flatrate)</mat-checkbox
>
</div>
<div class="flexContainerRow width20">
<mat-checkbox formControlName="karateTraining"
>Für den Karateunterricht</mat-checkbox
>
</div>
<div class="flexContainerRow width20">
<mat-checkbox formControlName="freeTraining"
>Für freies Training (unterschriebenes Beiblatt muss der Anmeldung
beiliegen)</mat-checkbox
>
</div>
</form>
<div>
<button
mat-button
matStepperNext
[disabled]="zeroFormGroup.status == 'INVALID'">
Next
</button>
</div>
</mat-step>
<!-- Step 1--> <!-- Step 1-->
<mat-step [stepControl]="firstFormGroup" class="firstStep"> <mat-step [stepControl]="firstFormGroup" class="firstStep">
<form [formGroup]="firstFormGroup" class="flexContainerRow width50"> <form [formGroup]="firstFormGroup" class="flexContainerRow width50">

View File

@ -86,16 +86,6 @@ export class StudentRegisterComponent implements OnInit {
// }); // });
// } // }
this.zeroFormGroup = this._formBuilder.group(
{
danceTraining: [''],
karateTraining: [''],
freeTraining: [''],
},
{
validators: [this.requireAtLeastOne],
}
);
this.firstFormGroup = this._formBuilder.group({ this.firstFormGroup = this._formBuilder.group({
firstName: ['', Validators.required], firstName: ['', Validators.required],
lastName: ['', Validators.required], lastName: ['', Validators.required],