aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/forms/input-readonly-copy.component.html
blob: b6a56ec441dfca1d0824dbdfb1f72b1ebff2e205 (plain) (tree)
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 [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary">
      <span class="glyphicon glyphicon-copy"></span>
    </button>
  </div>
</div>