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

Update index.tsx #41

Closed kudlas closed 4 years ago

kudlas commented 4 years ago

When using step, papaparse does not return data and it falls.

nzambello commented 4 years ago

Probably you should use the error handling method to get the error if there is any. Otherwise I'll set something more strict to the return data, but it's a bit weird that there is no data.

@kudlas What do you mean by "when using step"?

kudlas commented 4 years ago

Probably you should use the error handling method to get the error if there is any. Otherwise I'll set something more strict to the return data, but it's a bit weird that there is no data.

@kudlas What do you mean by "when using step"?

By using step I mean setting papaparse option step: true.

nzambello commented 4 years ago

@kudlas do you get errors by the error handler?

nzambello commented 4 years ago

@kudlas Resolved in https://github.com/nzambello/react-csv-reader/commit/0a311f6ffc3e6c230365058752cc850375905daa and released in v3.0.5