Weird 'Toggle' component behaviour

I have a toggle component, on which I make other components visibility depend.

This does NOT work as is …

However, whenever I add this unrelated logic to my toggle, it works by magic …


(sort of : I have to cycle once to get it work).

Now : for this to completely work, I have to go through a page property to mirror the toggle value …
This is dirty. Am I doing anything wrong ?

Hello, @MF_de_Preval

To control the visibility of components using a toggle, you should use one of the following approaches:

  1. Data Binding

OR
2. On Change Event handler with Toggle Component Visibility block

Regards,
Serhiy

Thanks Serhiy. I was indeed down the 1st option road …