microsoft / microsoft/AdaptiveCards
Monitoring Input Choice Set Selection Changes in an Adaptive Card
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Problem Statement
Enable dynamic interaction with other components each time a choice in the checkbox list is made or unmade.
Scenario:
A choice set represents a list of checkboxes, allowing the user to select a maximum of four items.
A ‘Save’ button is available to store the user’s selections.
A label displays the count of selected items, for example, ‘1 of 4 selected’.
Initial Conditions:
The ‘Save’ button is initially disabled.
The default label text reads ‘None Selected’.
Behavior:
Each time a checkbox is toggled, the ‘Save’ button’s state and the label’s text must be updated accordingly.
Proposed solution
Implement a notification system to alert the backend upon any changes in the choice set selection.
Alternatives or Workarounds
No response
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.
Research direction
No files, tests, or entry points are named. Start by locating ChoiceSet checkbox handling and the existing mechanism for communicating card changes to a backend, then determine how selection changes should update the Save button and selected-count label. Done should include the stated four-item limit, disabled initial state, and correct updates after every toggle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100