Skip to content

Commit 78198c1

Browse files
authored
Merge pull request #5961 from edward-jazzhands-forks/fix_Input_widget_documentation
Update Input widget documentation
2 parents ee1027c + bd00e85 commit 78198c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/widgets/input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ input = Input(validate_on=["submitted"])
7878

7979
Validation is considered to have failed if *any* of the validators fail.
8080

81-
You can check whether the validation succeeded or failed inside an [Input.Changed][textual.widgets.Input.Changed] or
82-
[Input.Submitted][textual.widgets.Input.Submitted] handler by looking at the `validation_result` attribute on these events.
81+
You can check whether the validation succeeded or failed inside an [Input.Changed][textual.widgets.Input.Changed], [Input.Submitted][textual.widgets.Input.Submitted], or [Input.Blurred][textual.widgets.Input.Blurred] handler by looking at the `validation_result` attribute on these events.
8382

8483
In the example below, we show how to combine multiple validators and update the UI to tell the user
8584
why validation failed.
@@ -132,6 +131,7 @@ If you set `valid_empty=True` then empty values will bypass any validators, and
132131

133132
## Messages
134133

134+
- [Input.Blurred][textual.widgets.Input.Blurred]
135135
- [Input.Changed][textual.widgets.Input.Changed]
136136
- [Input.Submitted][textual.widgets.Input.Submitted]
137137

0 commit comments

Comments
 (0)