nzambello / react-csv-reader

React component that handles csv file input and its parsing
https://nzambello.github.io/react-csv-reader/
MIT License
199 stars 48 forks source link

How can I access default file info using e.target.files[0] for uploading loaded file to server using axios? #57

Closed chirag00757 closed 3 years ago

chirag00757 commented 3 years ago

I want to upload selected file to my server but I can not able to access e.target.files[0] object in onFileLoaded function.

rahgurung commented 3 years ago

I think wrapping the CSVReader in form tag would allow you to upload the file to a server.

nzambello commented 3 years ago

fixed by #80