]>
Commit | Line | Data |
---|---|---|
40e87e9e C |
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" | |
772d5642 | 7 | (change)="fileChange($event)" [(ngModel)]="fileInputValue" |
40e87e9e C |
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> |