Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(login): add autocomplete to login form (DSP-1892) #527

Merged
merged 1 commit into from Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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