]>
Commit | Line | Data |
---|---|---|
1 | <div class="root"> | |
2 | <div class="button-file"> | |
3 | <span>{{ inputLabel }}</span> | |
4 | <input | |
5 | type="file" | |
6 | [name]="inputName" [id]="inputName" [accept]="extensions" | |
7 | (change)="fileChange($event)" [(ngModel)]="fileInputValue" | |
8 | /> | |
9 | </div> | |
10 | ||
11 | <div i18n class="file-constraints">(extensions: {{ allowedExtensionsMessage }}, max size: {{ maxFileSize | bytes }})</div> | |
12 | ||
13 | <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div> | |
14 | </div> |