Replies: 1 comment 1 reply
-
Hi @TeeFiX42, Please have a look at #3760 (comment), where I'm explaining the problem with switching the UI context via |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi,
I'm trying to refresh the content of a left_drawer. I checked multiple examples on using the ui.refreshable decorator. But cant find what I'm looking for.
minimum code:
I just want a label in the left_drawer to be updated in the above example.
But every time I click on the button, a new label is added in the self.left_menu.
Expected behavior:
I would expect that the previous created label in self.left_menu is deleted and a a new label is created when clicking on the button. Why is that not happening?
It works when I put the label in a ui.column() instead of a drawer. I don't understand why it behaves like that.
How can I update items in a left_drawer object?
Beta Was this translation helpful? Give feedback.
All reactions