'How to upload multiple files in different folders using Reactjs and Laravel
I want to let users of my website upload multiple files that could be in different folders. Using 'multiple' attribute in file input control doesn't let you select multiple files that are in different folders to my knowledge. Is there a way to force this? If I add multiple file input controls dynamically,
- How should I create 'onChange' event for each file input control?
- How can I append the selected files to 'FormData'?
- How can I retrieve the selected files from Laravel?
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|