bugfix
parent
8a7c59c56a
commit
579fa8d3cc
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="input-img-area">
|
<div class="input-img-area">
|
||||||
<input #fileInput type="file" id="file-input" (change)="onFileInput($event)" [style.background-image]="backGround"/>
|
<input #fileInput type="file" id="file-input" (change)="onFileInput($event)" [style.background-image]="backGround"/>
|
||||||
</div>
|
</div>
|
||||||
<label class="btn primary" for="file-input">Файл изображения</label>
|
<label class="btn primary" (click)="fileInput.click()">Файл изображения</label>
|
||||||
<button type="button" class="btn icon remove" *ngIf="value" (click)="clear()">Удалить</button>
|
<button type="button" class="btn icon remove" *ngIf="value" (click)="clear()">Удалить</button>
|
||||||
<!-- <p>Перетащите сюда или <span (click)="fileInput.click()">выберите файл</span> в формате JPEG или PNG общим объемом не более 10 Мбайт.</p> -->
|
<!-- <p>Перетащите сюда или <span (click)="fileInput.click()">выберите файл</span> в формате JPEG или PNG общим объемом не более 10 Мбайт.</p> -->
|
||||||
<!-- *ngIf="upload.file" -->
|
<!-- *ngIf="upload.file" -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue