Hi,
I am trying to complete the ordering process of an app for a fastfood store.
this is wrer I am now.
The end user can login, and order from menu, order is saved in an array in localstorage,
user clicks "checkout" array is sent to user db (with this js in mapping
"return JSON.parse(value);)"
and app navs to checkout screen,
on checkout load the array is called and as you can see from the attached image, it is mapped to a label, no js in mapping
the ui under the array is what I am trying to get to. The collapsible is in a grid and I would like to to populate the labels with the content of the array.
My reason for this logic is that I cannot tell how many items a user may order, so I cannot build a ui
I understand I need to split the array,
does the array need to be split before it reaches the db (in mapping) for example,
or can the array be manipulated during the "get" service call?
cheers