microsoft / microsoft/aspire

Interactive Input Choice - Multiselect

Open
#15,629 0 comments 0 reactions 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Please consider adding support for multiple selection of items (choices)

### Describe the solution you'd like

I'd like the ability to select multiple values from a list of possible values (choices)
new InteractionInput
{
Name = "Set",
Label = "Set",
Description = "Select one or more",
InputType = InputType.**ChoiceMultiSelect**,
Required = true,
EnableDescriptionMarkdown = true,
Options = new []
{
new KeyValuePair("val1","1"),
new KeyValuePair("val2","2"),
new KeyValuePair("val3","3"),
new KeyValuePair("val4","4"),
new KeyValuePair("val5","5"),
}
},

display of large numbers of options as a list of items with checkbox

[======================]
| [x] item 1 |^|
| [x] item 2 | |
| [x] item 3 | |
| [x] item 4 | |
| [x] item 5 | |
| [x] item 6 |V|
[======================]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.