Currently, I am working with Angular 7 and typescript and have a question regarding file uploads from multiple input fields in HTML. Here is an example of what I am trying to achieve:
<input type="file" (change)="handleFileInput($event.target.files)">
<input type="file" (change)="handleFileInput($event.target.files)">
<input type="file" (change)="handleFileInput($event.target.files)">
I am aware of the 'multiple' attribute, but unfortunately, I cannot use it in this case because I need to change the name of each file to match the value of an enum in my Spring Boot application.