Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add missing autocomplete fields

Chocobozzzbd4b321b0b46
diff --git a/client/src/app/+about/about-instance/contact-admin-modal.component.html b/client/src/app/+about/about-instance/contact-admin-modal.component.html
index 369f129082..fd15fd898b 100644
--- a/client/src/app/+about/about-instance/contact-admin-modal.component.html
+++ b/client/src/app/+about/about-instance/contact-admin-modal.component.html
@@ -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: [email protected]"
+ i18n-placeholder placeholder="Example: [email protected]" autocomplete="email"
>
<div *ngIf="formErrors.fromEmail" class="form-error" role="alert">{{ formErrors.fromEmail }}</div>
</div>
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html
index 64d06f594c..89f579a5f5 100644
--- a/client/src/app/+login/login.component.html
+++ b/client/src/app/+login/login.component.html
@@ -46,6 +46,7 @@
<input
type="text" id="username" i18n-placeholder placeholder="Example: [email protected]" required tabindex="1"
formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }" myAutofocus
+ autocomplete="username"
>
</div>
diff --git a/client/src/app/+signup/+register/steps/register-step-user.component.html b/client/src/app/+signup/+register/steps/register-step-user.component.html
index 8715794b67..1de655bd8b 100644
--- a/client/src/app/+signup/+register/steps/register-step-user.component.html
+++ b/client/src/app/+signup/+register/steps/register-step-user.component.html
@@ -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: [email protected]"
+ type="text" id="email" i18n-placeholder placeholder="Example: [email protected]" autocomplete="email"
formControlName="email" class="form-control" [ngClass]="{ 'input-error': formErrors['email'] }"
>