Skip to content

add default value to selection prompt and multiselection prompt#2079

Merged
patriksvensson merged 1 commit intospectreconsole:mainfrom
AntekOlszewski:selection-prompt-initial-index
Apr 16, 2026
Merged

add default value to selection prompt and multiselection prompt#2079
patriksvensson merged 1 commit intospectreconsole:mainfrom
AntekOlszewski:selection-prompt-initial-index

Conversation

@AntekOlszewski
Copy link
Copy Markdown
Contributor

@AntekOlszewski AntekOlszewski commented Apr 8, 2026

Fixes #508

  • I have read the Contribution Guidelines
  • I have checked that there isn't already another pull request that solves the above issue
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors

Changes

This change was previously proposed in #1541 but became outdated.
This PR reintroduces the same fix on top of the current codebase.
I also extended outdated PR with similar implementation of DefaultValue for MultiSelectionPrompt

@patriksvensson patriksvensson merged commit b18ccb1 into spectreconsole:main Apr 16, 2026
3 checks passed
@patriksvensson
Copy link
Copy Markdown
Contributor

Merged! Thank you for your contribution. Much appreciated! 👍

This was referenced Apr 17, 2026
This was referenced Apr 21, 2026
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.

SelectionPrompt - Set default value not available

2 participants