mholt/PapaParse

preview + step never completes

Aberta

#618 aberto em 21 de jan. de 2019

 (3 comentários) (3 reações) (0 responsável)JavaScript (1.186 forks)batch import
help wanted

Métricas do repositório

Stars
 (13.552 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador