<div>
    <div class="command-title" *ngIf="!iconMode">
        {{headerTitle}}
    </div>
    <div>
        <span  [class.hide]="iconMode">
            <input type="text" class="command-input" size="{{inputSize}}" [(ngModel)]="defaultValue" #inputTarget readonly/>
        </span>
        <span>
            <input type="text" size="{{inputSize}}" [(ngModel)]="defaultValue" #inputTarget1 class="inputTarget">
        </span>
        <span>
            <clr-icon shape="copy" [class.is-success]="isCopied" [class.is-error]="hasCopyError" class="info-tips-icon" size="24" [ngxClipboard]="inputTarget1" (cbOnSuccess)="onSuccess($event)" (cbOnError)="onError($event)"></clr-icon>
        </span>
    </div>
</div>
<div>
    <div class="command-title" *ngIf="!iconMode">
        {{headerTitle}}
    </div>
    <div>
        <span  [class.hide]="iconMode">
            <input type="text" class="command-input" size="{{inputSize}}" [(ngModel)]="defaultValue" #inputTarget readonly/>
        </span>
        <span>
            <textarea  name="inputTarget1" [(ngModel)]="defaultValue" class="inputTarget" #inputTarget1 rows="1" cols="{{inputSize}}">
            </textarea >
        </span>
        <span>
            <clr-icon shape="copy" [class.is-success]="isCopied" [class.is-error]="hasCopyError" class="info-tips-icon" size="24" [ngxClipboard]="inputTarget1" (cbOnSuccess)="onSuccess($event)" (cbOnError)="onError($event)"></clr-icon>
        </span>
    </div>
</div>
Fix copy button not working
Fix copy button not working

Signed-off-by: Yogi_Wang <616495f54461b9f1c924e6040780dd4d6301c1cc@vmware.com>
