Add missing autocomplete fields

pull/6000/head
Chocobozzz 2023-10-09 09:50:59 +02:00
parent 31a67bc620
commit bd4b321b0b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,7 @@
<input
type="text" id="fromName" class="form-control"
formControlName="fromName" [ngClass]="{ 'input-error': formErrors.fromName }"
autocomplete="name"
>
<div *ngIf="formErrors.fromName" class="form-error" role="alert">{{ formErrors.fromName }}</div>
</div>
@ -21,7 +22,7 @@
<input
type="text" id="fromEmail" class="form-control"
formControlName="fromEmail" [ngClass]="{ 'input-error': formErrors['fromEmail'] }"
i18n-placeholder placeholder="Example: john@example.com"
i18n-placeholder placeholder="Example: john@example.com" autocomplete="email"
>
<div *ngIf="formErrors.fromEmail" class="form-error" role="alert">{{ formErrors.fromEmail }}</div>
</div>

View File

@ -46,6 +46,7 @@
<input
type="text" id="username" i18n-placeholder placeholder="Example: john@example.com" required tabindex="1"
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }" myAutofocus
autocomplete="username"
>
</div>

View File

@ -16,6 +16,7 @@
<input
type="text" id="displayName" i18n-placeholder placeholder="Example: John Doe"
formControlName="displayName" class="form-control" [ngClass]="{ 'input-error': formErrors['displayName'] }"
autocomplete="nickname"
>
</div>
@ -33,6 +34,7 @@
<input
type="text" id="username" i18n-placeholder placeholder="Example: john_doe58"
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }"
autocomplete="username"
>
<span class="input-group-text">@{{ instanceHost }}</span>
</div>
@ -50,7 +52,7 @@
</div>
<input
type="text" id="email" i18n-placeholder placeholder="Example: john@example.com"
type="text" id="email" i18n-placeholder placeholder="Example: john@example.com" autocomplete="email"
formControlName="email" class="form-control" [ngClass]="{ 'input-error': formErrors['email'] }"
>