Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/create-initial-planner/create-initial-planner.component.html

    r59329aa re29cc2e  
    11<form (ngSubmit)="onFormSubmitPlanner(f)" #f="ngForm">
    2   <h1 mat-dialog-title>Hi </h1>
    32  <div mat-dialog-content>
    43    <p>Planner name</p>
    54    <mat-form-field appearance="fill">
    6       <input matInput required   type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name">
     5      <input matInput required type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name">
    76    </mat-form-field>
    87    <p>Planner description</p>
    98    <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>
    1111    </mat-form-field>
    1212  </div>
    1313  <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>
    1616  </div>
    1717</form>
    18 
    19 <button mat-button (click)="onCancelClick()">Cancel</button>
Note: See TracChangeset for help on using the changeset viewer.