Being able to access component properties in child elements (Button component)

Hey everyone,

I’m trying to create a button component with some properties and I want to be able to access them from the icons inside the button. Usually I should able to access auto but with the button it doesn’t let me.

If I create any other component it’s ok, I can access the properties from the child elements but with the button no.

I’m using the Basic Button that WeWeb provides and I turned it into a component.

I don’t know If it’s something that I’m missing.

Thank you🩵

Hi Tracy,

Your left icon or right icon must be set to “off” in the button specific:
Set it on, and you should be able to access the properties.

If it’s already on, then i have a workaround.

1 Like

Thanks so much, I didn’t think that would block passing all the properties🙏

1 Like