react-drag-drop-files icon indicating copy to clipboard operation
react-drag-drop-files copied to clipboard

Multiple files upload

Open alebreiz opened this issue 1 year ago • 2 comments

Is there an example how to implement multiple files upload? Thank you.

alebreiz avatar Apr 27 '23 11:04 alebreiz

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

pankajupadhyay29 avatar May 16 '23 15:05 pankajupadhyay29

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

optyler avatar Apr 25 '24 12:04 optyler