Skip to content

Commit

Permalink
chore(login): add autocomplete to login form (DSP-1892) (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Sep 8, 2021
1 parent a99546e commit dd6be15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/main/action/login-form/login-form.component.html
Expand Up @@ -12,6 +12,7 @@ <h2 class="login-form-title mat-title">{{formLabel.title}}</h2>
<input
matInput
[placeholder]="formLabel.name"
autocomplete="username"
formControlName="username"
#username
>
Expand All @@ -27,6 +28,7 @@ <h2 class="login-form-title mat-title">{{formLabel.title}}</h2>
matInput
type="password"
[placeholder]="formLabel.pw"
autocomplete="current-password"
formControlName="password">

</mat-form-field>
Expand Down
2 changes: 1 addition & 1 deletion src/app/main/login/login.component.scss
Expand Up @@ -8,7 +8,7 @@
position: absolute;
}

dsp-login-form {
app-login-form {
margin: 160px auto;
max-width: 80%;
display: block;
Expand Down

0 comments on commit dd6be15

Please sign in to comment.