From b3ef7d4fa64824c23e6699aaeb412b9185a09c1c Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 13 Oct 2021 22:50:49 +0200 Subject: [PATCH] fixed documentation for selection and multiselection (#499) --- docs/input/prompts/multiselection.md | 3 +-- docs/input/prompts/selection.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/input/prompts/multiselection.md b/docs/input/prompts/multiselection.md index be35e5b..fc85b3d 100644 --- a/docs/input/prompts/multiselection.md +++ b/docs/input/prompts/multiselection.md @@ -29,9 +29,8 @@ var fruits = AnsiConsole.Prompt( .InstructionsText( "[grey](Press [blue][/] to toggle a fruit, " + "[green][/] to accept)[/]") - .AddChoice("Apple") .AddChoices(new[] { - "Apricot", "Avocado", + "Apple", "Apricot", "Avocado", "Banana", "Blackcurrant", "Blueberry", "Cherry", "Cloudberry", "Cocunut", })); diff --git a/docs/input/prompts/selection.md b/docs/input/prompts/selection.md index 531670a..0c04f05 100644 --- a/docs/input/prompts/selection.md +++ b/docs/input/prompts/selection.md @@ -22,9 +22,8 @@ var fruit = AnsiConsole.Prompt( .Title("What's your [green]favorite fruit[/]?") .PageSize(10) .MoreChoicesText("[grey](Move up and down to reveal more fruits)[/]") - .AddChoice("Apple") .AddChoices(new[] { - "Apricot", "Avocado", + "Apple", "Apricot", "Avocado", "Banana", "Blackcurrant", "Blueberry", "Cherry", "Cloudberry", "Cocunut", }));