Has anyone used a file input with Angular. I'm not able to get the change event to fire when declared as (change), but when using onchange it works but not with the angular method. Has anyone successfully used (change) event? Not sure what I'm missing here.
This works...
<input hidden mat-input onclick="this.value = null" onchange=”alert(‘works’)” #fileInput type="file"> This doesn't work...
<input hidden mat-input onclick="this.value = null" (change)=”alert(‘works’)” #fileInput type="file">