Created
February 22, 2020 06:10
-
-
Save CodingWithTashi/449c15e1f7628fa096669923c963ebac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form Filling | |
<ol> | |
<li> | |
<mat-form-field> | |
<mat-label>Enter your name?</mat-label> | |
<input matInput [(ngModel)]="name"> | |
</mat-form-field> | |
</li> | |
<li> | |
<button mat-raised-button (click)="openDialog()">Enter age in dialog</button> | |
</li> | |
<li *ngIf="age"> | |
You chose: <i>{{age}}</i> | |
</li> | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment