Question: How can I get the gerate: Array into the repeater?
The first Repeater Item should look like: Mittwoch von12:30 bis 13:30 EUR 200 Geräte: Diego, Tymo
thanks @givemeawhisky for your quick answer which brought me in the right direction!!! There is just a small peace missing still
My code update:
$w(“#repeater6”).forEachItem(($item, itemData, index) => {
console.log (itemData.gerate)
$item(“#text43”).text = itemData.title + " von:" + itemData.anfang + " bis:" + itemData.ende +" EUR" + itemData.bruttoPreis.toString() + " " + itemData.gerate.title
Because gerate give you back an ARRAY. Look closer
Your last value you past to you Text: itemData.gerate.title
should be itemData.gerate[index].title
Now it should work
@benibrodi thanks for your support and your quick answer. I was hoping to achive that I can show all rows of the Array. Something like itemData.gerate[ ].title or itemData.gerate[1,2,n].title but since the number of arrays are not always the same, I guess I need a loop or something more complex, right?
PS: Esd sind so art Fitnessgeräte zum mieten Danke für die schnelle Antwort!