You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
initialFiles doesn't work when there are another files
I use DropzoneDialog, but initial files doesn't work
#87 and #192 have similar issue
I am using DropzoneDialogbecause the user requirement was shown to him, what happens is that I am sending those files when a specific form finishes, but he can open the dialog as many times as necessary.
I have a function that receives the files and reloads them and I use usestate to receive the files
const [files, setFiles] = useState(value);
let f
const arr = []
files.map((file) =>{
f = new File([file.name],file.name,{type:file.type ,lastModified:file.lastModified})
return arr.push(f)
})
after , when the dialog 'save' work in console but when charge this state doesnt work
initialFiles doesn't work when there are another files
I use DropzoneDialog, but initial files doesn't work
#87 and #192 have similar issue
I am using DropzoneDialogbecause the user requirement was shown to him, what happens is that I am sending those files when a specific form finishes, but he can open the dialog as many times as necessary.
I have a function that receives the files and reloads them and I use
usestate
to receive the filesconst [files, setFiles] = useState(value);
after , when the dialog 'save' work in console but when charge this state doesnt work
How can I reload the files until the form actually ends?
The text was updated successfully, but these errors were encountered: