OK Katya,
I will try that.
thank you very much
OK Katya,
I will try that.
thank you very much
Hello! You need to parse response using JS because favorites is an array and values in array may be only a simple types. In your case it's string and thus you can't parse it automatically.
You can make favorites field not array, but an object and store data this way:
pre{"arr":[{"taxicompanyname":"Airport Taxis","town":"NEWCASTLE UPON TYNE","taxiemail":"frank@airport-taxis.co.uk","taxiphone":"0191 4880751","textback":"Text Back"}, {"taxicompanyname":"other/pre
In such case you can parse it automatically in mapping.
Marina,
You can make favorites field not array, but an object and store data this way:
I dont know where you mean to save data as object
the labels are stored in array in localstorage and in the db.
do you mean I need to change field in db
Does your service readfavorites on the last screenshot call the db? You want do mapping for this service, right? You need to change column name, but you would need also change function of saving to collection.
so do you mean I should not be using array at all
Katya,
I really need help here, there is some confusion regarding array.
with your help I got the array into the db
I now need to populate the 5 items in the array to a collapsible block
I dont follow what Marina meant,
I'm in trouble now, already a week late, I will loose client if I cant show this feature working
hoping you can help
thx
Hi Michael,
Could you please share the app and database with us?
Thx Katya,
both shared, app name NEWCASTLETAXIios
any news here