Skip to content

Instantly share code, notes, and snippets.

@SevdaCimen
Created May 28, 2020 14:15
Show Gist options
  • Save SevdaCimen/e7a0b582d6c108165c423ee6cfdf16ea to your computer and use it in GitHub Desktop.
Save SevdaCimen/e7a0b582d6c108165c423ee6cfdf16ea to your computer and use it in GitHub Desktop.
<form fxLayout="column" name="form" [formGroup]="form">
<div fxLayout.lt-md="column" fxFlex="1 0 ">
<mat-form-field appearance="outline">
<mat-label>Student Number</mat-label>
<input matInput formControlName="StudentNumber" [(ngModel)]="data.StudentNumber">
</mat-form-field>
<mat-form-field appearance="outline">
<mat-label>Name</mat-label>
<input matInput formControlName="Name" [(ngModel)]="data.Name">
</mat-form-field>
<mat-form-field appearance="outline">
<mat-label>Last Name</mat-label>
<input matInput formControlName="LastName" [(ngModel)]="data.LastName">
</mat-form-field>
<mat-form-field appearance="outline">
<mat-label>Age</mat-label>
<input matInput formControlName="Age" [(ngModel)]="data.Age">
</mat-form-field>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment