microsoft / microsoft/AdaptiveCards
Input.ChoiceSet people style
Open
@matthidinger is already working on this.
Since Mar 11, 2021.
Epic
Feature
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Description
Add a new style for Input.ChoiceSet to include a "people-picker" experience.
Open Issues
Schema/spec
| Property | Type | Required | Description |
|---|---|---|---|
style |
enum | No | The "people" style improves the user experience when choosing from a list of users |
Requirements
- Must support an experience with
isMultiSelecttrue, allowing to select multiple people if the card author chooses that
Examples
Static data
{
"type": "Input.ChoiceSet",
"label": "Select a user",
"isMultiSelect": false,
"choices": [
{ "title": "User 1", "value": "User1" },
{ "title": "User 2", "value": "User2" }
],
"style": "people"
}
Remote data
{
"type": "Input.ChoiceSet",
"label": "Select a user",
"isMultiSelect": false,
"choices.data": {
"type": "Data.Query",
"dataset": "graph.microsoft.com/users"
},
"style": "people"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.