master
Boris Voropaev 2024-09-05 10:56:00 +03:00
parent 8a7c59c56a
commit 579fa8d3cc
1 changed files with 1 additions and 1 deletions

View File

@ -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" -->