-
Notifications
You must be signed in to change notification settings - Fork 773
Open
Description
It would be nice to be able to hide the numbers when using ChoiceInput by setting show_numbers to False:
| show_numbers=True, |
Currently I have hidden them using this hack:
class ChoiceInputNoNumbers(ChoiceInput[_T]):
"""ChoiceInput with row numbers hidden."""
@override
def _create_application(self) -> Application[_T]:
app = super()._create_application()
ctrl = app.layout.current_window.content
if hasattr(ctrl, "text") and isinstance(getattr(ctrl.text, "__self__", None), RadioList):
ctrl.text.__self__.show_numbers = False
return appReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels