Bunlong / react-papaparse

react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
https://react-papaparse.js.org
MIT License
372 stars 62 forks source link

controlled input #25

Closed bugzpodder closed 3 years ago

bugzpodder commented 4 years ago

provide a way to control the upload. For example if I reset the form I want to clear the upload file programatically.

bugzpodder commented 4 years ago

I was able to add a key prop to unmount the component to get around this.