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/select.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -88,10 +88,13 @@ 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
96
+
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