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.