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

Array in Data not working properly #111

Open
MiltonBain opened this issue Apr 26, 2022 · 0 comments
Open

Array in Data not working properly #111

MiltonBain opened this issue Apr 26, 2022 · 0 comments

Comments

@MiltonBain
Copy link

I am passing an object into the data prop that has the following structure:

Data: [
{
  data1: 'value',
  data2: ''value',
  dataArray: [
    {
      subData1: 'value',
      subData2: 'value',
      subData3: 'value'
    },
    {
      subData1: 'value',
      subData2: 'value',
      subData3: 'value'
    },
    ...
  ]
},
{
  data1: 'value',
  data2: ''value',
  dataArray: [
    {
      subData1: 'value',
      subData2: 'value',
      subData3: 'value'
    },
    {
      subData1: 'value',
      subData2: 'value',
      subData3: 'value'
    },
    ...
  ]
},
...
]

Based on this, the "dataArray" does not get parsed correctly.
In the CSV file, depending how many objects are in that array, it will just display [object Object].

The issue #66 offers a solution, but I do not see how that solution will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant