Hello there,
I am having issues trying to see the exposed variables of repeated custom components inside a column element.
The local variables of the component are exposed, so as an instance they do show on the variables tab, but when I put the instance inside the column element and bind it to a list of items, each repeated instance of the component does not expose its local variables. Why?
It’s the same issue as with the normal ones. When they’re repeated, they no longer automatically do this. You need to handle it manually via workflows and events.
Thank you for your reply, I think I understand what you mean, but when handling this via workflows and events I struggle to show which repeated element I am getting the variable from, maybe I could do this by showing the entire object via the workflows and events?
I would appreciate an example if you have one, but I will try to figure it out with the info you provided in the meantime.
you need to have a unique id for every repeated item in the column, this way it is accesible in the context and you know from where the event is coming.
it’s the same thing with native weweb elements (like inputs) used inside a column/collection list.
here you can find links to two examples with weweb elements, you can adapt them to a custom element as well
2 Likes