Ignore:
Timestamp:
12/28/21 08:56:55 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
b738035
Parents:
84d0fbb
Message:

pre final presentation

File:
1 edited

Legend:

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

    r84d0fbb rbdd6491  
    22    <p>Planner name</p>
    33    <mat-form-field appearance="fill">
    4       <input matInput required type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name">
     4      <input matInput  type="text" [(ngModel)]="plannerDto.name" name="plannerName" placeholder="Planner name">
     5     
    56    </mat-form-field>
    67    <p>Planner description</p>
    78    <mat-form-field appearance="fill">
    8       <textarea matInput required name="description" [(ngModel)]="planner.description" type="text"
     9      <textarea matInput  name="description" [(ngModel)]="plannerDto.description" type="text"
    910        placeholder="Planner description"></textarea>
    1011    </mat-form-field>
    1112  </div>
    1213  <div mat-dialog-actions>
    13     <button pButton pRipple type="submit" label="Save"
    14       class="p-button-outlined p-button-rounded p-button-help" (click)="onFormSubmitPlanner(planner)"></button>
     14    <button pButton pRipple type="button" label="Save"
     15      class="p-button-outlined p-button-rounded p-button-help" (click)="onFormSubmitPlanner(plannerDto)"></button>
    1516  </div>
     17
     18 
Note: See TracChangeset for help on using the changeset viewer.