<input [id]="attachmentname" type="file" name="attachment" style="display:none" (change)='loadAttachment($event)'
  accept="image/*,video/*,audio/*">
<ion-button (click)="openFile()" slot="end" expand="block" fill="outline">
  <ion-icon name="attach" slot="start"></ion-icon>
  {{'general,select-attachment' | translate}}
</ion-button>

<div *ngIf="inputFiles.length>0" class="uploader-icons">
  <ion-item *ngFor="let file of inputFiles; let i = index" lines="none">
      <p slot="start"> <img [src]="attachmentImg" /> {{file.name}}</p>
      <p slot="end"><img [src]="deleteImg" (click)="deleteFiles(i)"></p>
  </ion-item>
</div>