Skip to content

SelectionPrompt - Set default value not available #508

@vanheesk

Description

@vanheesk

Is your feature request related to a problem? Please describe.
SelectionPrompt does not contain a "Select" -method. It is however available on MultiSelectionPrompt.

Describe the solution you'd like
Option 1:
Add the same "Select" and "IsSelected" -methods (as available in MultiSelectionPromptExtensions) to the SelectionPromptExtensions -class.

Option 2:
Add a "DefaultValue" (as available in TextPrompt) to the SelectionPromptExtensions -class.

Describe alternatives you've considered
I'm currently planning to work around this by setting the selected item as the first one in the list of choices. But that might be confusing for users.


Please upvote 👍 this issue if you are interested in it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions