Hello everyone,
I’m trying to create a dynamic list from an API response in the Drag and Drop interface.
My plan is to loop through my data and, for each item, create a new Label component to display a title. I am successfully using the create
block from the Advanced
→ Any Component
category inside a for each
loop.
The create
block gives me a green component
variable in its then do
section, which represents the new Label.
My problem is: I cannot find the correct block to change the Text
property of this new component
. I have looked for a block like set Text of component...
but I can’t find one that works with the dynamic component
variable.
My question is: What is the correct way to set the Text
(and other properties like Color
, FontSize
) of a component that has just been created with the create
block?
Here is a screenshot of my blocks. How can I modify the new green component
?
Thanks in advance for your help!