Skip to content

Ignore the case of the input for TextPrompt (select from multiple choices) #1906

@nbdinara

Description

@nbdinara
        var feedback = AnsiConsole.Prompt(
            new TextPrompt<string>("Was the tool helpful in solving the error?")
              .AddChoices(["Yes", "Partially", "No"]));

Currently the input is case-sensitive

Image

How to make it not case-sensitive? Is it possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo 🕑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions