This is how my input tag looks like:
Rese
Angular 5
html
Reset
template
@ViewChild('inputFile') myInputVariable: ElementRef; reset() { this.myInputVariable.nativeElement.value = ''; }
Button is not required. You can reset it after change event, it is just for demonstration