mapping within a collapsible
This here is something that used to work, but fails me since last week. My app is way more complex than the problem presented here, I just isolated my problem in a test app http://appery.io/app/view/56ec40aa-38....
What I'm trying to do is mapping a REST service in this construct, with list items in the content area of a collapsible block. The whole blok is duplicated for every item in the array (every row in my database).
So here's my database:
I want to map the nameRound on the header of the collapsible set, and use it again as a variable within the list.
Here's my mapping:
And here's the end-result:
So where the collapsible header says 'OW9', the list contains exactly the same variable and should also say 'OW9'.
The strange thing is that the second list item with the stateRound is showing it's correct value.
But fairly, I don't see to much structure in this problem. Let's give the collapsible header two labels, and map both variables. Here's the mapping:
Here's the result, nothing like you expect. This time the headers are just repeated from the first entry, and the rest of it maps OK.
So me myself, I'd probably recommend to try another kind of construct. But the thing is: I did do this before, and it worked....
I shared my test app with a href="mailto:help@appery.io" rel="nofollow"help@appery.io/a.
Thanx,
Edwin Schravesande