You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the WeatherData CardCollection situation. When a user click a button and create a OnSubmitAction, Can I hide all other cards except the one that the user is on? That is collapse the stack of card to just show one.
The text was updated successfully, but these errors were encountered:
Interesting question. Do you want to hide the cards completely or "collapse" them in the Adaptive Cards' terms, meaning the ShowCard action?
If the first one, maybe you could wrap the CardCollection inside a condition:
if (SelectedCard == null)
{
// If nothing selected, show all the cards
<CardCollection...
}
else
{
// If card is selected, only show that one
<AdaptiveCard
}
And then use the OnSubmitAction to set the SelectedCard.
In the WeatherData CardCollection situation. When a user click a button and create a OnSubmitAction, Can I hide all other cards except the one that the user is on? That is collapse the stack of card to just show one.
The text was updated successfully, but these errors were encountered: