Yeah i can get that bit to work when I was testing. However the array from my query is the one that is commented out, ‘importedArrayTwo’ this is the one I can’t get to work
How’s your back end code when sending the data to the front end? Are you using the JSON.stringify( mongooseObj ) function to properly return a valid JSON object to the front end?
The stringify object if used before sending the data to the front end should put the quotation marks for you to make it a valid JSON object. Then you should have no problems on the front end.
try using the same JSON.stringify function. See how it behaves. I have personally never had that issue in the backend. I know lean also helps but it’s not a good option unless you are done modifying the data. Like you said, there might be a problem with the save() function