Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.15 KB | None | 0 0
  1.   <form [formGroup]="profileForm" (ngSubmit)="onSubmit()">
  2.  
  3.   <mat-form-field class="example-full-width">
  4.       <input matInput placeholder="First Name" formControlName="firstName">
  5.     </mat-form-field>
  6.  
  7.     <mat-form-field class="example-full-width">
  8.         <input matInput placeholder="Last Name" formControlName="lastName">
  9.       </mat-form-field>
  10.  
  11.       <mat-form-field class="example-full-width">
  12.           <input matInput placeholder="Age" formControlName="age">
  13.         </mat-form-field>
  14.  
  15.         <mat-form-field class="example-full-width">
  16.             <input matInput placeholder="Email" formControlName="email">
  17.           </mat-form-field>
  18.  
  19. <div ng-if="places.name">
  20.   <mat-form-field class="example-full-width">
  21.   <input type="text" placeholder="Pick one" aria-label="String" matInput [formControl]="place" [matAutocomplete]="auto">
  22.   <mat-autocomplete #auto="matAutocomplete">
  23.     <mat-option *ngFor="let option of filteredOptions | async" [value]="option.name">
  24.       {{option.name}}
  25.     </mat-option>
  26.   </mat-autocomplete>
  27.   </mat-form-field>
  28. </div>
  29.   <input type="submit" name="submit" id="submit" value="Küldés">
  30.  
  31.   </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement