-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prevent messages from constructor #4392
Conversation
Sorry just to check I understand this correctly, it is the responsibility of the developer to prevent the changed event? |
Yes, the majority of the time you do want to handle messages for any changes. The alternative would be for every widget to have some kind of |
Thanks Will for confirming. I just wasn't sure based on the title of your issue if actually a |
Was due to Textual changed behaviour In 0.53.0 this change caused that: BREAKING: for many widgets, messages are now sent when programmatic changes that mirror user input are made #4256 And with 0.56.0 this fix is available. See also: Textualize/textual#4392
Was due to Textual changed behaviour In 0.53.0 this change caused that: BREAKING: for many widgets, messages are now sent when programmatic changes that mirror user input are made #4256 And with 0.56.0 this fix is available. See also: Textualize/textual#4392
Was due to Textual changed behaviour In 0.53.0 this change caused that: BREAKING: for many widgets, messages are now sent when programmatic changes that mirror user input are made #4256 And with 0.56.0 this fix is available. See also: Textualize/textual#4392
#4391
Allows use of self.prevent to prevent messages from being sent on_mount
Original issue may be fixed with the following change to
compose
: