In my angular5 File upload is a trigger onchange event, but when I select the same file twice it's not selected.
My problem similar to this HTML input file selection event not firing upon selecting the same file
<input type="file" class="upload-file" onclick="this.value=null" (change)="handleFileInput($event.target.files,'doc')">
but its not working