]>
Commit | Line | Data |
---|---|---|
1 | <div class="input-group"> | |
2 | <input | |
3 | [id]="inputId" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex" | |
4 | [(ngModel)]="value" (ngModelChange)="update()" [readonly]="readonly" | |
5 | #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control" | |
6 | /> | |
7 | ||
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> | |
11 | ||
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> | |
19 | </div> |