164. Understanding file change event (#22)

This commit is contained in:
Art
2021-09-21 10:07:59 +03:00
parent 6ec90aa5c7
commit 3944b43cfa
2 changed files with 6 additions and 1 deletions

View File

@ -219,7 +219,8 @@
</div>
<div class="custom-file">
<input type="file" accept="image/*" name="profileImage"
class="custom-file-input">
(change)="onProfileImageChange($event)"
class="custom-file-input" >
<label class="custom-file-label">
<span [hidden]="true"> fileName </span>
<span [hidden]="false">Choose File</span>