should I expect an auto refresh after an edit or create? The server is returning the data array as documented.
This question has an accepted answers - jump to answer
Yes, you can see this behavior in this example.
Do you get errors in the browser's console?
Use the browser's network inspector tool to capture the JSON response. Post it here so we can see the structure.
Kevin
Do you get errors in the browser's console? - No The returned object is =
[ { "data": [ { "_id": "662587b201726293f361c591", "lbudget": "4628.83", "mbudget": "1313.8", "name": " R2 BCY 50V Controls Box PLC Panels Wiring and Conduit Replacement", "number": "48021766" } ] } ]
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
Looks like the response is within an array. The response should look like this instead:
{ "data": [ { "_id": "662587b201726293f361c591", "lbudget": "4628.83", "mbudget": "1313.8", "name": " R2 BCY 50V Controls Box PLC Panels Wiring and Conduit Replacement", "number": "48021766" } ] }
See the example client/server data exchange docs for more details.
Thank you - that fixed it and allowed me to also test the error
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Yes, you can see this behavior in this example.
Do you get errors in the browser's console?
Use the browser's network inspector tool to capture the JSON response. Post it here so we can see the structure.
Kevin
Do you get errors in the browser's console? - No
The returned object is =
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
Looks like the response is within an array. The response should look like this instead:
See the example client/server data exchange docs for more details.
Kevin
Thank you - that fixed it and allowed me to also test the error