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

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