Update pop-in with the jump infos
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
[(ngModel)]="jump.isSpecial"
|
||||
name="isSpecial"
|
||||
labelPosition="before"
|
||||
[disabled]="!editMode"
|
||||
>Special jump</mat-checkbox
|
||||
>
|
||||
</p>
|
||||
@@ -15,6 +16,7 @@
|
||||
[(ngModel)]="jump.withCutaway"
|
||||
name="withCutaway"
|
||||
labelPosition="before"
|
||||
[disabled]="!editMode"
|
||||
>Cutaway</mat-checkbox
|
||||
>
|
||||
</p>
|
||||
@@ -26,31 +28,22 @@
|
||||
[(ngModel)]="jump.notes"
|
||||
name="comments"
|
||||
type="text"
|
||||
[disabled]="!editMode"
|
||||
></textarea>
|
||||
</mat-form-field>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>{{ "NewJump_Equipment" | translate }}</mat-label>
|
||||
<mat-select [(value)]="selectedEquipment">
|
||||
<mat-select [(value)]="jump.equipment" [disabled]="!editMode">
|
||||
@for (equipment of listOfEquipment; track equipment) {
|
||||
<mat-option [value]="equipment.value">{{
|
||||
equipment.viewValue
|
||||
}}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
<!-- <input
|
||||
type="text"
|
||||
matInput
|
||||
placeholder="equipment"
|
||||
name="equipment"
|
||||
[(ngModel)]="jump.equipment"
|
||||
name="equipment"
|
||||
type="text"
|
||||
/> -->
|
||||
</mat-form-field>
|
||||
@if (editMode) {
|
||||
<button mat-raised-button color="accent">Update</button>
|
||||
}
|
||||
</p>
|
||||
<br />
|
||||
@if (editMode) {
|
||||
<button mat-raised-button color="accent">Update</button>
|
||||
}
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user