Created
June 14, 2017 06:13
-
-
Save Takas0522/f9b185b48afceca9c50a04637a200300 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 [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