Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created January 16, 2018 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debugmodedotnet/862cafc10fc557ea54622da1875d000b to your computer and use it in GitHub Desktop.
Save debugmodedotnet/862cafc10fc557ea54622da1875d000b to your computer and use it in GitHub Desktop.
<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