Skip to main content
5 events
when toggle format what by license comment
Dec 31, 2020 at 20:20 comment added Keith C Hi @joacoiudica OK. Do the console.log in the .js file to double check the structure. Is all the data set in one go? If producto is set asynchronously, you could use lightning-layout-item if:true{itemVariation.producto} ... as a guard.
Dec 31, 2020 at 18:35 comment added joacoiudica itemVariation.sf_id shows the sf_id of itemVariation, and not the sf_id of producto, so no, it doesn't work sadly
Dec 31, 2020 at 16:48 comment added Keith C @joacoiudica I'm guessing yes if {itemVariation.sf_id} doesn't generate an error. But best you examine the data structure using one of the ways described above.
Dec 31, 2020 at 16:45 comment added joacoiudica so, I can access the name property of the "producto" object, by writing itemVariation.name directly?
Dec 31, 2020 at 16:41 history answered Keith C CC BY-SA 4.0