Switching data automation id password for show/hide password. (#2245)

This commit is contained in:
jdosti
2017-08-24 14:12:38 +01:00
committed by Vito
parent 43fe0ee921
commit 7b2b8787bb

View File

@@ -61,10 +61,10 @@
data-automation-id="password"
tabindex="2">
<md-icon *ngIf="isPasswordShow" mdSuffix class="adf-login-password-icon"
data-automation-id="show_password" (click)="toggleShowPassword()">visibility
data-automation-id="hide_password" (click)="toggleShowPassword()">visibility
</md-icon>
<md-icon *ngIf="!isPasswordShow" mdSuffix class="adf-login-password-icon"
data-automation-id="hide_password" (click)="toggleShowPassword()">visibility_off
data-automation-id="show_password" (click)="toggleShowPassword()">visibility_off
</md-icon>
</md-input-container>
<span class="adf-login-validation" for="password" *ngIf="formError.password">