source: trip-planner-front/src/app/create-initial-planner/create-initial-planner.component.html@ e29cc2e

Last change on this file since e29cc2e was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 729 bytes
Line 
1<form (ngSubmit)="onFormSubmitPlanner(f)" #f="ngForm">
2 <div mat-dialog-content>
3 <p>Planner name</p>
4 <mat-form-field appearance="fill">
5 <input matInput required type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name">
6 </mat-form-field>
7 <p>Planner description</p>
8 <mat-form-field appearance="fill">
9 <textarea matInput required name="description" [(ngModel)]="planner.description" type="text"
10 placeholder="Planner description"></textarea>
11 </mat-form-field>
12 </div>
13 <div mat-dialog-actions>
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 </div>
17</form>
Note: See TracBrowser for help on using the repository browser.