I\'m trying to loop through a Filelist:
Filelist
console.log(\'field:\', field.photo.files) field.photo.files.forEach(file => { // looping code })
The lodash library has a _forEach method that loops through all collection entities, such as arrays and objects, including the FileList:
_.forEach(field.photo.files,(file => { // looping code })