]>
Commit | Line | Data |
---|---|---|
40e87e9e | 1 | <div class="root"> |
a2c5cd4a | 2 | <div class="button-file" [ngClass]="{ 'with-icon': !!icon }" [ngbTooltip]="buttonTooltip"> |
7b992a86 C |
3 | <my-global-icon *ngIf="icon" [iconName]="icon"></my-global-icon> |
4 | ||
40e87e9e | 5 | <span>{{ inputLabel }}</span> |
7b992a86 | 6 | |
40e87e9e C |
7 | <input |
8 | type="file" | |
9 | [name]="inputName" [id]="inputName" [accept]="extensions" | |
772d5642 | 10 | (change)="fileChange($event)" [(ngModel)]="fileInputValue" |
40e87e9e C |
11 | /> |
12 | </div> | |
13 | ||
40e87e9e | 14 | <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div> |
a2c5cd4a C |
15 | |
16 | <button *ngIf="displayReset && filename" i18n class="reset-button" (click)="reset()"> | |
17 | Reset | |
18 | </button> | |
40e87e9e | 19 | </div> |