diff --git a/src/textual/widgets/_selection_list.py b/src/textual/widgets/_selection_list.py index 986a59f4a..6442d2d13 100644 --- a/src/textual/widgets/_selection_list.py +++ b/src/textual/widgets/_selection_list.py @@ -51,6 +51,7 @@ class Selection(Generic[SelectionType], Option): prompt = Text.from_markup(prompt) super().__init__(prompt.split()[0], id, disabled) self._value: SelectionType = value + """The value associated with the selection.""" @property def value(self) -> SelectionType: