-
Hello, I previously created an issue related to this topic, but I have been unable to find a solution for the issue involving the page disappearing when changing routes. Below, you will find the code reproduction along with comments describing the behavior. Please note that the "DumbTimer" is included to ensure that the "/:id" clear attribute is not set to True. It will raise an exception otherwise.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The only way I found was to create a view that always returns wheel_list and a "place holder" for the wheel container, and replace all self.page = page to self.initial_page = page (i'm avoiding overriding self.page) and replace all self.update() to self.initial_page.update() and avoid self.clean to avoid exception raised because the control is not added to the page (but is actually added to the page) |
Beta Was this translation helpful? Give feedback.
The only way I found was to create a view that always returns wheel_list and a "place holder" for the wheel container, and replace all self.page = page to self.initial_page = page (i'm avoiding overriding self.page) and replace all self.update() to self.initial_page.update() and avoid self.clean to avoid exception raised because the control is not added to the page (but is actually added to the page)