react-drag-drop-files
react-drag-drop-files copied to clipboard
Multiple files upload
Is there an example how to implement multiple files upload? Thank you.
An example request shouldn't be added as an issue. If you see the homepage there is an example on Sandbox with multiple uploads. https://codesandbox.io/s/react-drag-drop-files-sghbp
The multiple
prop seems not to work 100% right now.
If you put the multiple
prop BUT you select only one file, the handleChange
is triggered with an empty objet, something like follow :
{ '0': { } }
so, for now, I will not use this feature right now if I was you ;)
EDIT: i made some update to the codebox to give you more insights https://codesandbox.io/p/sandbox/react-drag-drop-files-forked-jlc23n