Is it possible to combine two FileList objects?
const filesArray = [...filesList1, ...filesList2];
console.log(filesArray) // [File, File, File, File, File, ...]
You have to first convert the FileList
objects to Arrays, after which you can simply concat
the multiple arrays.
const joined = Array.from(fileListA).concat(Array.from(fileListB));