You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/widgets/input.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ This will prevent the user from typing any more characters when the maximum has
68
68
You can supply one or more *[validators][textual.validation.Validator]* to the `Input` widget to validate the value.
69
69
70
70
All the supplied validators will run when the value changes, the `Input` is submitted, or focus moves _out_ of the `Input`.
71
-
The values `"changed"`, `"submitted"`, and `"blur"`, can be passed as an iterable to the `Input` parameter `validate_on` to request that validation occur only on the respective mesages.
71
+
The values `"changed"`, `"submitted"`, and `"blur"`, can be passed as an iterable to the `Input` parameter `validate_on` to request that validation occur only on the respective messages.
72
72
(See [`InputValidationOn`][textual.widgets._input.InputValidationOn] and [`Input.validate_on`][textual.widgets.Input.validate_on].)
73
73
For example, the code below creates an `Input` widget that only gets validated when the value is submitted explicitly:
0 commit comments