Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Importing a CSV with an empty field removes the header index entirely for that row #3

Closed
tinybigideas opened this issue Feb 23, 2020 · 0 comments · Fixed by #7
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tinybigideas
Copy link
Contributor

Reproduction

Steps to reproduce:

  1. Create CSV following the standard template
  2. Make sure there's an empty field for one of the rows
  3. Importing that CSV will simply remove the field from the row which misaligned the data with its headers

Expected Behaviour

Imported CSV data to match the index of the headers I.e. data[headerIndex] should be the relevant row data. However, it gets removed should the row be empty of undefined.

Environment

  • Angular: 9.0.1
  • Browser(s): All
@tinybigideas tinybigideas added the bug Something isn't working label Feb 23, 2020
@tinybigideas tinybigideas self-assigned this Feb 23, 2020
@tinybigideas tinybigideas added this to the v0.0.2-alpha milestone Feb 23, 2020
@tinybigideas tinybigideas changed the title [Bug] Importing a CSV with an empty field removes the header index entirely for that row [bug] Importing a CSV with an empty field removes the header index entirely for that row Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant