Changeset e29cc2e for trip-planner-front/src/app/create-initial-planner/create-initial-planner.component.html
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/create-initial-planner/create-initial-planner.component.html
r59329aa re29cc2e 1 1 <form (ngSubmit)="onFormSubmitPlanner(f)" #f="ngForm"> 2 <h1 mat-dialog-title>Hi </h1>3 2 <div mat-dialog-content> 4 3 <p>Planner name</p> 5 4 <mat-form-field appearance="fill"> 6 <input matInput required 5 <input matInput required type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name"> 7 6 </mat-form-field> 8 7 <p>Planner description</p> 9 8 <mat-form-field appearance="fill"> 10 <textarea matInput required name="description" [(ngModel)]="planner.description" type="text" placeholder="Planner description"></textarea> 9 <textarea matInput required name="description" [(ngModel)]="planner.description" type="text" 10 placeholder="Planner description"></textarea> 11 11 </mat-form-field> 12 12 </div> 13 13 <div mat-dialog-actions> 14 15 <button mat-button type="submit" [disabled]="!f.form.valid" >Save</button>14 <button pButton pRipple type="button" label="Save" [disabled]="!f.form.valid" 15 class="p-button-outlined p-button-rounded p-button-help"></button> 16 16 </div> 17 17 </form> 18 19 <button mat-button (click)="onCancelClick()">Cancel</button>
Note:
See TracChangeset
for help on using the changeset viewer.