Skip to content
Discussion options

You must be logged in to vote

By the looks of what you say here, you're creating the reactive inside your __init__. What you should do is declare it at the class scope:

To create these attributes import reactive from textual.reactive, and assign them in the class scope.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nnmm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants