Share via

Is select all functionality supported for Input.Choiceset?

Hetal Chavan 20 Reputation points
2025-11-18T11:25:01.2933333+00:00

In case of Input.Choiceset for adaptive cards, do we have functionality to support select all?

for example:

if there are 3 options and the user clicks on selectall checkbox, we tick all the options

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

3 answers

Sort by: Most helpful
  1. Prasad-MSFT 10,491 Reputation points Microsoft External Staff Moderator
    2025-11-19T06:02:53.25+00:00

    No, Adaptive Cards’ Input.ChoiceSet does not natively support a “Select All” option or checkbox.

    There is no built-in property or mechanism in Adaptive Card schema to add a “Select All” that automatically checks all options. If you add a “Select All” as a choice, it will just be treated as another value, not as a UI control that toggles other options.

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click on "upvote" button. Your feedback is important to us. Please rate us:   🤩 Excellent 🙂 Good 😐 Average 🙁 Needs Improvement 😠 Poor

    Click here to escalate.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Kudos-Ng 15,050 Reputation points Microsoft External Staff Moderator
    2025-11-18T12:49:11.22+00:00

    Hi Hetal Chavan,

    Thank you for posting your question in the Microsoft Q&A forum. 

    Based on your requirement, I’ve done some research and would like to share a few insights:

    Currently, there is no property or function in Adaptive Cards that provides a native “Select All” option for Input.ChoiceSet. Users must manually select each option.

    A typical workaround is to implement a toggle element as a “Select All” control and then update the value of the ChoiceSet. However, there are important considerations:

    • Adaptive Cards cannot update themselves on the client side. Any update requires a request to the bot, which then refreshes the card. Microsoft explains this in their article on Up-to-date views with Universal Actions.
    • If you use Input.Toggle for “Select All,” the toggle itself cannot trigger an event. You need an action such as Action.Submit or Action.Execute to send data back to the bot. The bot then processes the request and returns an updated card.
    • Each time the user clicks the control, a request is sent to the bot. In scenarios with poor network conditions, this can introduce a slight delay in updating the card.

    Because this is a workaround, it adds complexity and may impact performance. You can choose to implement it or allow users to manually select options.

    However, a native “Select All” feature would significantly improve user experience. I kindly recommend submitting feedback through Microsoft’s feedback portal so the product team can consider this for future enhancements.

    Hope these insights are helpful.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.

  3. AI answer

    2025-11-18T11:25:16.5966667+00:00

    The current documentation does not explicitly mention support for a "select all" functionality within the Input.ChoiceSet component of Adaptive Cards. The Input.ChoiceSet allows for multiple selections, but implementing a "select all" feature would typically require additional logic in the application that processes the card input. This means that while you can allow users to select multiple options, the functionality to automatically select all options with a single checkbox would need to be handled outside of the Adaptive Card schema itself.

    For a complete implementation, you would need to manage the state of the selections programmatically based on user interaction with a "select all" checkbox, ensuring that all options are selected or deselected accordingly.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.