How to take data from v-model array in input type="file" multiple ?
<input type="file" multiple v-model="modFiles[index]">
<input type="file" multiple v-model="modFiles[index]">
<input type="file" multiple v-model="modFiles[index]">
I'm using v-for loop and I can get the first data from each modFiles[].
this.modFiles[0] //take the first from multiple file
But it's only the first data. How can I take all the data inside modFiles[0],modFiles[1],modFiles[3] ? And how to count the data inside each modFiles ?
this.modFiles[0].length //i get error here
thanks so much