aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/forms/reactive-file.component.html
blob: 7d691059d4fb8d6d3f6ff7398e56e73a74ce4bb0 (plain) (tree)
1
2
3
4
5
6
7





                                                               
                                                                






                                                                                                                            
<div class="root">
  <div class="button-file">
    <span>{{ inputLabel }}</span>
    <input
      type="file"
      [name]="inputName" [id]="inputName" [accept]="extensions"
      (change)="fileChange($event)" [(ngModel)]="fileInputValue"
    />
  </div>

  <div i18n class="file-constraints">(extensions: {{ allowedExtensionsMessage }}, max size: {{ maxFileSize | bytes }})</div>

  <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div>
</div>