Hi there,
In the project we are using the Feature toggle component but we are facing a strange behaviour in the front-end part.
In the screen we are using the block isActive with two expressions only with the text on or off depending if the toggle is active or not.
When entering the page for the first time, and with the toggle on, the display is always the "OFF". But when you refresh the page the text switch to "ON". Note: We have the sync on application ready of the page
This is the inspect on the first enter:
Can you help on this subject?
Best regards
Sergio Duarte
Hey Sergio, thanks for reaching.
After our call, it seems the problem is due to the sync of the features is placed in the On Application Ready system event.
This only runs once, So, when logging out, the key (needed to check the feature) gets wiped and when you access for the second time, it shows false and after refresh true (because it resyncs as it didnt found the feature in the first access).
My suggestion is to move the sync out of the app ready event.
Cheers!