mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
unified events and messages
This commit is contained in:
@@ -48,7 +48,7 @@ class InputApp(App[str]):
|
||||
)
|
||||
self.mount(text_area=TextArea())
|
||||
|
||||
def handle_changed(self, event: TextWidgetBase.Changed) -> None:
|
||||
def on_text_widget_base_changed(self, event: TextWidgetBase.Changed) -> None:
|
||||
try:
|
||||
value = float(event.value)
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user