]>
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 | |
93c728a2 | 8 | <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary" [title]="toggleTitle"> |
dc1296a9 C |
9 | <my-global-icon *ngIf="show" iconName="eye-open"></my-global-icon> |
10 | <my-global-icon *ngIf="!show" iconName="eye-close"></my-global-icon> | |
4c8749cb | 11 | </button> |
1916c966 | 12 | |
4c8749cb C |
13 | <button |
14 | *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button" | |
15 | class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy" | |
16 | > | |
b15fcd49 | 17 | <my-global-icon iconName="copy"></my-global-icon> |
4c8749cb C |
18 | <span class="copy-text">Copy</span> |
19 | </button> | |
f8b530e0 | 20 | </div> |