I have a dataset and want to display its content in a repeater. This works fine without code, but for the name text field, I want to do data.firstName + " " + data.lastName.
When I use the code:
$w("#repeater3").forEachItem(($item, itemData, index) => {
console.log(itemData)
})
I get no data and only a dictionary with an _id value set. This is not very useful because I cannot set the fields using $item(“text1”).text = itemData.firstName + " " + itemData.lastName;
How do I set this repeater up properly so that itemData shows up properly?