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: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## Unreleased
9
9
10
-
11
10
### Fixed
12
11
13
12
- Fixed `Pilot.click` not working with `times` parameter https://github.com/Textualize/textual/pull/5398
14
13
15
14
### Added
16
15
17
16
- Added `from_app_focus` to `Focus` event to indicate if a widget is being focused because the app itself has regained focus or not https://github.com/Textualize/textual/pull/5379
17
+
-- Added `Select.type_to_search` which allows you to type to move the cursor to a matching option https://github.com/Textualize/textual/pull/5403
Copy file name to clipboardExpand all lines: docs/widgets/select.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,15 @@ The following example presents a `Select` created using the `from_values` class
88
88
89
89
## Blank state
90
90
91
-
The widget `Select` has an option `allow_blank` for its constructor.
91
+
The `Select` widget has an option `allow_blank` for its constructor.
92
92
If set to `True`, the widget may be in a state where there is no selection, in which case its value will be the special constant [`Select.BLANK`][textual.widgets.Select.BLANK].
93
93
The auxiliary methods [`Select.is_blank`][textual.widgets.Select.is_blank] and [`Select.clear`][textual.widgets.Select.clear] provide a convenient way to check if the widget is in this state and to set this state, respectively.
94
94
95
+
## Type to search
95
96
96
-
## Reactive Attributes
97
+
The `Select` widget has a `type_to_search` attribute which allows you to type to move the cursor to a matching option when the widget is expanded. To disable this behavior, set the attribute to `False`.
0 commit comments