diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-forms/input-toggle-hidden.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-forms/input-toggle-hidden.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
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 |