Hide component with button


#1

Hi, how i can hide a component, like a message box , from a button inside it?

regards Paolo


#2

Hi, currently there is no way to hide the nested component from inside the component. You need to do it outside the component.

Just a thought… If nested component would have “Visible” prop then this could be probably done so that clicking button inside component would change the Data slot value which then would hide/reveal the nested component based on the value.