aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+login/login.component.html2
-rw-r--r--client/src/app/shared/shared-forms/input-toggle-hidden.component.html2
-rw-r--r--client/src/app/shared/shared-forms/input-toggle-hidden.component.ts1
3 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html
index a2362d978..e0be3b415 100644
--- a/client/src/app/+login/login.component.html
+++ b/client/src/app/+login/login.component.html
@@ -35,7 +35,7 @@
35 <my-input-toggle-hidden formControlName="password" id="password" 35 <my-input-toggle-hidden formControlName="password" id="password"
36 i18n-placeholder placeholder="Password" 36 i18n-placeholder placeholder="Password"
37 [ngClass]="{ 'input-error': formErrors['password'] }" 37 [ngClass]="{ 'input-error': formErrors['password'] }"
38 autocomplete="current-password" tabindex="2"></my-input-toggle-hidden> 38 autocomplete="current-password" [tabindex]="2"></my-input-toggle-hidden>
39 <div *ngIf="formErrors.password" class="form-error"> 39 <div *ngIf="formErrors.password" class="form-error">
40 {{ formErrors.password }} 40 {{ formErrors.password }}
41 </div> 41 </div>
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
index f59dc6215..af7c6650f 100644
--- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
+++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
@@ -1,5 +1,5 @@
1<div class="input-group input-group-sm"> 1<div class="input-group input-group-sm">
2 <input [id]="id" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [(ngModel)]="value" (ngModelChange)="update()" [ngClass]="{ 'readonly': readonly }" [readonly]="readonly" 2 <input [id]="id" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex" [(ngModel)]="value" (ngModelChange)="update()" [ngClass]="{ 'readonly': readonly }" [readonly]="readonly"
3 #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control" /> 3 #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control" />
4 4
5 <div *ngIf="withToggle || withCopy" class="input-group-append"> 5 <div *ngIf="withToggle || withCopy" class="input-group-append">
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts b/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts
index 0e974426b..56e5b9762 100644
--- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts
+++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts
@@ -19,6 +19,7 @@ export class InputToggleHiddenComponent implements ControlValueAccessor {
19 @Input() value = '' 19 @Input() value = ''
20 @Input() autocomplete = 'off' 20 @Input() autocomplete = 'off'
21 @Input() placeholder = '' 21 @Input() placeholder = ''
22 @Input() tabindex = 0
22 @Input() withToggle = true 23 @Input() withToggle = true
23 @Input() withCopy = false 24 @Input() withCopy = false
24 @Input() readonly = false 25 @Input() readonly = false