mholt/PapaParse

preview + step never completes

Open

#618 aperta il 21 gen 2019

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)JavaScript (1157 fork)batch import
help wanted

Metriche repository

Star
 (11.877 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor