Is there a way to retrieve data from v-model array in an input type of "file" that allows multiple selections?
<input type="file" multiple v-model="modFiles[index]">
<input type="file" multiple v-model="modFiles[index]">
<input type="file" multiple v-model="modFiles[index]">
Currently, with a v-for loop, I am only able to access the first piece of data from each modFiles[].
this.modFiles[0] //retrieves the first file from the selection
However, this is limited to just the initial data. How can I retrieve all the data within modFiles[0], modFiles[1], modFiles[3]? And how do I determine the number of files inside each modFiles?
this.modFiles[0].length //throws an error here
Any help on this matter would be greatly appreciated. Thank you.