Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form [formGroup]="profileForm" (ngSubmit)="onSubmit()">
- <mat-form-field class="example-full-width">
- <input matInput placeholder="First Name" formControlName="firstName">
- </mat-form-field>
- <mat-form-field class="example-full-width">
- <input matInput placeholder="Last Name" formControlName="lastName">
- </mat-form-field>
- <mat-form-field class="example-full-width">
- <input matInput placeholder="Age" formControlName="age">
- </mat-form-field>
- <mat-form-field class="example-full-width">
- <input matInput placeholder="Email" formControlName="email">
- </mat-form-field>
- <div ng-if="places.name">
- <mat-form-field class="example-full-width">
- <input type="text" placeholder="Pick one" aria-label="String" matInput [formControl]="place" [matAutocomplete]="auto">
- <mat-autocomplete #auto="matAutocomplete">
- <mat-option *ngFor="let option of filteredOptions | async" [value]="option.name">
- {{option.name}}
- </mat-option>
- </mat-autocomplete>
- </mat-form-field>
- </div>
- <input type="submit" name="submit" id="submit" value="Küldés">
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement