mholt/PapaParse

preview + step never completes

Open

#618 opened on Jan 21, 2019

View on GitHub
 (3 comments) (3 reactions) (0 assignees)JavaScript (1,157 forks)batch import
help wanted

Repository metrics

Stars
 (11,877 stars)
PR merge metrics
 (Avg merge 18h) (1 merged PR in 30d)

Description

The discussion (in #352) and the docs indicate that the meta.truncated value should become true when the last row to preview is parsed. But it doesn't it remains false and complete is never called. This means short of keeping your own counter there is no way to know that preview has completed.

To repro:

  • Go to the demo.
  • Select local file.
  • check Stream option.
  • Set preview to any positive non-zero value
  • Click parse
  • Nothing ever shows up in the console

Contributor guide