Forum Discussion
mattphillips
Dec 16, 2022Copper Contributor
Visibility of adaptive card element depending on value of a ChoiceSet?
So I 've been looking at how to show and hide elements on the card and I think I've worked out that it's not reactive to when the data changes. So can you have elements hide based on a value of a choiceset?
5 Replies
Sort By
- Sayali-MSFT
Microsoft
mattphillips - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?- mattphillipsCopper ContributorIt's nothing what I asked for but you've said you don't support what I have asked for
- Sayali-MSFT
Microsoft
mattphillips -Currently, as per the above requirement, this functionality is not available in teams.
Could you please help by suggesting this feature on - Microsoft Teams · Community
- Sayali-MSFT
Microsoft
Hello mattphillips -Action.ShowCard Defines an AdaptiveCard which is shown to the user when the button or link is clicked.
Reference Document-https://adaptivecards.io/explorer/Action.ShowCard.html - ChetanSharma-msft
Microsoft
Hello mattphillips - Currently it is not possible to show or hide the card elements based on the ChoiceSet but you can use "Action.ShowCard" to show and hide the contents.
Please refer this URL: https://www.adaptivecards.io/samples/FoodOrder.html