fix tabindex on login page
This commit is contained in:
parent
b49f22d8f9
commit
23cd3129a9
|
@ -35,7 +35,7 @@
|
|||
<my-input-toggle-hidden formControlName="password" id="password"
|
||||
i18n-placeholder placeholder="Password"
|
||||
[ngClass]="{ 'input-error': formErrors['password'] }"
|
||||
autocomplete="current-password" tabindex="2"></my-input-toggle-hidden>
|
||||
autocomplete="current-password" [tabindex]="2"></my-input-toggle-hidden>
|
||||
<div *ngIf="formErrors.password" class="form-error">
|
||||
{{ formErrors.password }}
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="input-group input-group-sm">
|
||||
<input [id]="id" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [(ngModel)]="value" (ngModelChange)="update()" [ngClass]="{ 'readonly': readonly }" [readonly]="readonly"
|
||||
<input [id]="id" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex" [(ngModel)]="value" (ngModelChange)="update()" [ngClass]="{ 'readonly': readonly }" [readonly]="readonly"
|
||||
#input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control" />
|
||||
|
||||
<div *ngIf="withToggle || withCopy" class="input-group-append">
|
||||
|
|
|
@ -19,6 +19,7 @@ export class InputToggleHiddenComponent implements ControlValueAccessor {
|
|||
@Input() value = ''
|
||||
@Input() autocomplete = 'off'
|
||||
@Input() placeholder = ''
|
||||
@Input() tabindex = 0
|
||||
@Input() withToggle = true
|
||||
@Input() withCopy = false
|
||||
@Input() readonly = false
|
||||
|
|
Loading…
Reference in New Issue