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