microsoft / microsoft/AdaptiveCards

Input.ChoiceSet people style

Open
#5,525 4 comments 0 reactions 1 assignee View on GitHub

@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

  1. Must support an experience with isMultiSelect true, 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.