I’m trying to loop through a Filelist
:
console.log('field:', field.photo.files)
field.photo.files.forEach(file => {
// looping code
})
As you can see field.photo.files
has a Filelist
:
How to properly loop through field.photo.files
?
I’m trying to loop through a Filelist
:
console.log('field:', field.photo.files)
field.photo.files.forEach(file => {
// looping code
})
As you can see field.photo.files
has a Filelist
:
How to properly loop through field.photo.files
?