aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/input-readonly-copy.component.html
blob: 9566e97415f6e6c609dbe5822ce965ca3e0125e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
<div class="input-group input-group-sm">
  <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="value" />

  <div class="input-group-append">
    <button [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary">
      <span class="glyphicon glyphicon-copy"></span>
    </button>
  </div>
</div>