When switching pages, the button status returns to initialization.

1
I have added many control buttons to my page, but whenever I switch pages, the button will return to the default state. How to solve this problem? How to give a button an initialization?
asked
1 answers
0

Try commiting the object and changing the visibility based on the object. For example you can make a boolean or a enum in your domain model to keep track of this. :)

answered