Last change
on this file since ceaed42 was 6c1585f, checked in by Ema <ema_spirova@…>, 3 years ago |
edit planner form with angular
|
-
Property mode
set to
100644
|
File size:
746 bytes
|
Rev | Line | |
---|
[6a80231] | 1 | <form (ngSubmit)="onFormSubmitPlanner(f)" #f="ngForm">
|
---|
| 2 | <h1 mat-dialog-title>Hi </h1>
|
---|
| 3 | <div mat-dialog-content>
|
---|
| 4 | <p>Planner name</p>
|
---|
| 5 | <mat-form-field appearance="fill">
|
---|
[6c1585f] | 6 | <input matInput required type="text" [(ngModel)]="planner.name" name="name" placeholder="Planner name">
|
---|
[6a80231] | 7 | </mat-form-field>
|
---|
| 8 | <p>Planner description</p>
|
---|
| 9 | <mat-form-field appearance="fill">
|
---|
[6c1585f] | 10 | <textarea matInput required name="description" [(ngModel)]="planner.description" type="text" placeholder="Planner description"></textarea>
|
---|
[6a80231] | 11 | </mat-form-field>
|
---|
| 12 | </div>
|
---|
| 13 | <div mat-dialog-actions>
|
---|
| 14 |
|
---|
| 15 | <button mat-button type="submit" [disabled]="!f.form.valid" >Save</button>
|
---|
| 16 | </div>
|
---|
| 17 | </form>
|
---|
| 18 |
|
---|
| 19 | <button mat-button (click)="onCancelClick()">Cancel</button> |
---|
Note:
See
TracBrowser
for help on using the repository browser.