Update to Angular v19 and fixing (#3)
Reviewed-on: #3 Co-authored-by: sandre <perso@sebastienandre.com> Co-committed-by: sandre <perso@sebastienandre.com>
This commit was merged in pull request #3.
This commit is contained in:
@@ -1,11 +1,34 @@
|
||||
<form (ngSubmit)="updateJump()">
|
||||
<p><span>Gear : {{jump.gear.name}} ({{jump.gear.mainCanopy}})</span></p>
|
||||
<p><mat-checkbox [(ngModel)]="jump.isSpecial" name="isSpecial" labelPosition="before">Special jump</mat-checkbox></p>
|
||||
<p><mat-checkbox [(ngModel)]="jump.withCutaway" name="withCutaway" labelPosition="before">Cutaway</mat-checkbox></p>
|
||||
<mat-form-field>
|
||||
<textarea matInput placeholder="Comments" name="comments" [(ngModel)]="jump.notes" name="comments" type="text"></textarea>
|
||||
</mat-form-field>
|
||||
<p>
|
||||
<span>Gear : {{ jump.gear.name }} ({{ jump.gear.mainCanopy }})</span>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox
|
||||
[(ngModel)]="jump.isSpecial"
|
||||
name="isSpecial"
|
||||
labelPosition="before"
|
||||
>Special jump</mat-checkbox
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox
|
||||
[(ngModel)]="jump.withCutaway"
|
||||
name="withCutaway"
|
||||
labelPosition="before"
|
||||
>Cutaway</mat-checkbox
|
||||
>
|
||||
</p>
|
||||
<mat-form-field>
|
||||
<textarea
|
||||
matInput
|
||||
placeholder="Comments"
|
||||
name="comments"
|
||||
[(ngModel)]="jump.notes"
|
||||
name="comments"
|
||||
type="text"
|
||||
></textarea>
|
||||
</mat-form-field>
|
||||
|
||||
<br />
|
||||
<button mat-raised-button color="accent" *ngIf="editMode">Update</button>
|
||||
</form>
|
||||
<br />
|
||||
<button mat-raised-button color="accent" *ngIf="editMode">Update</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user