Created
August 13, 2018 19:05
-
-
Save NishuGoel/e158556d9562354fac07f9e292116661 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 (ngSubmit)='loginUser()' [formGroup]='loginForm' novalidate class="form"> | |
<input formControlName='email' type="text" class="form-control" placeholder="Enter Email" /> | |
<br /> | |
<input formControlName='password' type="password" class="form-control" placeholder="Enter Password" /> <br /> | |
<input formControlName='age' type="number" class="form-control" placeholder="Enter Age" /> | |
<br /> | |
<button [disabled]='loginForm.invalid' class="btn btn-default">Login</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment