Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<form [formGroup]="inputForm">
<div>
<md-input-container>
<input
mdInput
placeholder="UserId"
[formControlName]="USER_ID_CONTROL_KEYWORD">
<md-error>
{{formErrors[USER_ID_CONTROL_KEYWORD]}}
</md-error>
</md-input-container>
</div>
<div>
<md-input-container>
<input
mdInput
placeholder="UserName"
[formControlName]="USER_NAME_CONTROL_KEYWORD">
<md-error>
{{formErrors[USER_NAME_CONTROL_KEYWORD]}}
</md-error>
</md-input-container>
</div>
<div>
<md-input-container>
<input
mdInput
placeholder="Password"
type="password"
[formControlName]="PASSWORD_CONTROL_KEYWORD">
<md-error>
{{formErrors[PASSWORD_CONTROL_KEYWORD]}}
</md-error>
</md-input-container>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment