aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/userlogin-form/userlogin-form.component.html
diff options
context:
space:
mode:
authorasgar <ma926a@us.att.com>2019-03-01 15:32:47 +0530
committerTakamune Cho <takamune.cho@att.com>2019-03-04 19:52:20 +0000
commit611c9da62c2e266f9facd97dc9f340ce311060a3 (patch)
treee471d6c851cefd46ed83380c6e41d20f54fe2666 /src/app/vnfs/userlogin-form/userlogin-form.component.html
parent9ccb0353f1c59bd7d49ff17c54e5d00c0960ea82 (diff)
multiple asible servers support
multiple asible servers support for CDT Issue-ID: APPC-1510 Change-Id: Id1b1b02274487cfbf6f108a57211a192924a6b08 Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
Diffstat (limited to 'src/app/vnfs/userlogin-form/userlogin-form.component.html')
-rw-r--r--src/app/vnfs/userlogin-form/userlogin-form.component.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/vnfs/userlogin-form/userlogin-form.component.html b/src/app/vnfs/userlogin-form/userlogin-form.component.html
index af58842..605cb45 100644
--- a/src/app/vnfs/userlogin-form/userlogin-form.component.html
+++ b/src/app/vnfs/userlogin-form/userlogin-form.component.html
@@ -30,10 +30,12 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<form #userForm="ngForm" (ngSubmit)="getData()">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input placeholder="Enter user Id" class="mdl-textfield__input" id="userId" required
- [(ngModel)]="userId" name="userId" value="" #user="ngModel">
+ [(ngModel)]="userId" name="userId" value="" #user="ngModel" (ngModelChange)="validateUserName()">
+ <span class="error-message">{{errorMessage}}</span>
</div>
+
<div class="form-group text-right">
- <button type="submit" [disabled]="!userForm.form.valid"
+ <button type="submit" [disabled]="invalid"
class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary">
Submit
</button>