I have an input to upload files. The uploaded files are shown as list displaying the file.name. When I add an id-property to a file it loses all it's properties except the path property. How can I add an id properly?
const fileWithId = {...uploadedFile, id: "myIdName"} //does not work