]>
Commit | Line | Data |
---|---|---|
f8b530e0 | 1 | <div class="input-group input-group-sm"> |
1916c966 C |
2 | <input |
3 | [id]="inputId" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex" | |
4 | [(ngModel)]="value" (ngModelChange)="update()" [ngClass]="{ 'readonly': readonly }" [readonly]="readonly" | |
5 | #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control" | |
6 | /> | |
f8b530e0 RK |
7 | |
8 | <div *ngIf="withToggle || withCopy" class="input-group-append"> | |
9 | <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary" [title]="toggleTitle"> | |
10 | <span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span> | |
11 | </button> | |
1916c966 C |
12 | |
13 | <button | |
14 | *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button" | |
6b1ef956 | 15 | class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy" |
1916c966 | 16 | > |
6b1ef956 | 17 | <span class="glyphicon glyphicon-duplicate"></span> |
18 | Copy | |
f8b530e0 RK |
19 | </button> |
20 | </div> | |
21 | </div> |