Z
Z
zwezew2019-03-28 19:34:23
React
zwezew, 2019-03-28 19:34:23

Is it possible in react final form arrays to output data to an array and not an object?

Is it possible in react-final-form-arrays to output data to an array and not an object?
By default it looks like this

{
  "customers": [
    {
      "firstName": "a"
    },
    {
      "firstName": "a"
    },
    {
      "firstName": "a"
    }
  ]
}

but I would like to
{
  "customers": [
    "a", "a", "a"
  ]
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-03-28
@zwezew

So , right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question