Skip to content

Single option selection default#2863

Draft
moondial-pal wants to merge 2 commits into
beeware:mainfrom
moondial-pal:single-option-selection-default
Draft

Single option selection default#2863
moondial-pal wants to merge 2 commits into
beeware:mainfrom
moondial-pal:single-option-selection-default

Conversation

@moondial-pal
Copy link
Copy Markdown
Contributor

When only a single option is available in a selection prompt, it will be automatically selected as the default when the user presses enter.

Previously this would show an "Invalid Selection" warning and re-prompt the user.
From what I read, I believe this would be complementary to the user-defined defaults being worked on in #2279.

Fixes #2856

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Assisted-by:
Calude Sonnet 4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single option default selection

1 participant