I have a page where I want my enum class to change styles as I click button, but it does not seem to work. Does the enum class widget only change when a page is built? (I was looking at the code and it looks like everything is in the update function) If not, how can I get it to refresh as I click my buttons? If not, is there another widget I can use or a way to use multiple?
> (I was looking at the code and it looks like everything is in the update function)
The update function of a widget is called everytime when the context is refreshed. Try refreshing the context object to force a refresh on the enum class widget.
I discover the same issue. Did you solve it?
It seems not that simple, because in some cases it is working, in other not.
Change the object in a nanoflow is triggering the refresh, but in a microflow not.