mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Drop explicit sender attribute from messages (#1940)
* remove sender * removed priority post * timer fix * test fixes * drop async version of post_message * extended docs * fix no app * Added control properties * changelog * changelog * changelog * fix for stopping timers * changelog * added aliases to radio and checkbox * Drop sender from Message init * drop time * drop cast * Added aliases
This commit is contained in:
@@ -15,7 +15,7 @@ class RadioButtonApp(App[None]):
|
||||
yield RadioButton(value=True, id="rb3")
|
||||
|
||||
def on_radio_button_changed(self, event: RadioButton.Changed) -> None:
|
||||
self.events_received.append((event.input.id, event.input.value))
|
||||
self.events_received.append((event.radio_button.id, event.radio_button.value))
|
||||
|
||||
|
||||
async def test_radio_button_initial_state() -> None:
|
||||
|
||||
Reference in New Issue
Block a user