Ajout des infos dans les listes déroulantes
du formulaire d'ajout
This commit is contained in:
@@ -2,25 +2,27 @@
|
||||
<mat-form-field>
|
||||
<mat-label>Choose the jump type</mat-label>
|
||||
<mat-select [(ngModel)]="selectedJumpType" name="selectedJumpType">
|
||||
<mat-option value="1">Option 1</mat-option>
|
||||
<mat-option value="2" disabled>Option 2 (disabled)</mat-option>
|
||||
<mat-option value="3">Option 3</mat-option>
|
||||
<mat-option *ngFor="let jumpType of listOfJumpType" [value]="jumpType.id">
|
||||
{{jumpType.name}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Choose the aircraft</mat-label>
|
||||
<mat-select [(ngModel)]="selectedAircraft" name="selectedAircraft">
|
||||
<mat-option value="4">Option 1</mat-option>
|
||||
<mat-option value="5">Option 2</mat-option>
|
||||
<mat-option *ngFor="let aircraft of listOfAircraft" [value]="aircraft.id">
|
||||
{{aircraft.name}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Choose the DZ</mat-label>
|
||||
<mat-select [(ngModel)]="selectedDz" name="selectedDz">
|
||||
<mat-option value="6">Option 1</mat-option>
|
||||
<mat-option value="7">Option 2</mat-option>
|
||||
<mat-option *ngFor="let dropZone of listOfDropZone" [value]="dropZone.id">
|
||||
{{dropZone.name}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
@@ -34,12 +36,6 @@
|
||||
|
||||
<mat-checkbox [(ngModel)]="withCutaway" name="withCutaway">With a cutaway ?</mat-checkbox>
|
||||
|
||||
<!-- <mat-form-field>
|
||||
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate2" name="beginDate2" disabled>
|
||||
<mat-datepicker-toggle matSuffix [for]="beginDateDp"></mat-datepicker-toggle>
|
||||
<mat-datepicker #beginDateDp disabled="false"></mat-datepicker>
|
||||
</mat-form-field> -->
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate" name="beginDate" disabled>
|
||||
<mat-datepicker-toggle matSuffix [for]="beginDateDp"></mat-datepicker-toggle>
|
||||
@@ -67,7 +63,6 @@
|
||||
</button>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Count of jumps" [(ngModel)]="countOfJumps" name="countOfJumps">
|
||||
<button mat-button *ngIf="countOfJumps" matSuffix mat-icon-button aria-label="Clear" (click)="countOfJumps=''">
|
||||
|
||||
Reference in New Issue
Block a user