I have my data structured as [{type: "advanced", price: 5000}]
. The schema type is set to type: []
. When I query the data in my browser (using react) I get an array but the objects like ['[object Object],[object Object]']
. How can I save this data and retrieve it correctly
2
Answers
JSON.stringify(myobject)
when appending it to the form before sendingTry this as the schema: