Hi! I´m trying to connect a text object to a text field in a dataset item, but I don’t know how to code it myself and I only find repeaters examples.
This is my code:
$item("#idioma").text = itemData.holaEs;
I understand something is missing enclosing it, something similar to this:
$w("#repeater").onItemReady(($item,itemData,index)=>{
}
Otherwise item and itemData are red underlined, and when I hover them it says "Cannot find name ‘itemData’/ "Cannot find name ‘item’ ".
How should I modify the code in order to call those “terms” (item and itemData) for it to work with a single text object rather than with objects within a repeater?
I’m sorry for my lack of correct terms to express myself, I’m learning.
Thanks!
Eugenia