Here is the code I use to drag and drop multiple files:
document.getElementById('file-input').files = e.dataTransfer.files;
This works, but how can I retain the old value after a second drag and drop?
I tried combining both arrays but the FileList is read only. I could try:
let newFile = new File()
But I cannot not find any documentation on how to properly to do so.