Adaptive Card Choice Lists not respecting the expanded / collapsed settings
See original GitHub issueAdaptive Cards with lists of choices within them are always showing the choices as radio buttons instead of drop down lists, even when they have been designed to show as collapsed. Choice lists were working correctly a few weeks ago so this seems to be an issue introduced recently.
The below adaptive card JSON displays choices correctly as drop downs in the Adaptive Cards Designer, but incorrectly in the emulator. I believe choices should only as radio buttons if you have used “style”: “expanded” when configuring the choice set on the card.
{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Help us improve this service"
}
]
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "How would you rate the virtual assistant chat?",
"wrap": true
}
]
},
{
"type": "Input.ChoiceSet",
"id": "Rating",
"placeholder": "Please select an answer",
"choices": [
{
"title": "Excellent",
"value": "Excellent"
},
{
"title": "Very Good",
"value": "Very Good"
},
{
"title": "Good",
"value": "Good"
},
{
"title": "Poor",
"value": "Poor"
},
{
"title": "Very poor",
"value": "Very poor"
}
]
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "Did virtual assistant chat answer your query today?",
"wrap": true
}
]
},
{
"type": "Input.ChoiceSet",
"id": "QueryAnswered",
"placeholder": "Please select an answer",
"choices": [
{
"title": "Yes - Fully",
"value": "Yes - Fully"
},
{
"title": "Yes - Partially",
"value": "Yes - Partially"
},
{
"title": "No - Not at all",
"value": "No - No at all"
}
]
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "If you had not talked to us through live chat, how would you have found the information you need?",
"wrap": true
}
]
},
{
"type": "Input.ChoiceSet",
"id": "AlternativeMedium",
"placeholder": "Please select an answer",
"choices": [
{
"title": "Phone",
"value": "Phone"
},
{
"title": "Email",
"value": "Email"
},
{
"title": "Web search",
"value": "Web search"
},
{
"title": "Competitor site",
"value": "Competitor site"
},
{
"title": "Would give up",
"value": "Would give up"
},
{
"title": "None of these",
"value": "None of these"
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"id": "ExitSurvey",
"title": "Send feedback",
"data": {
"source": "ExitSurvey"
}
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Text formatting in cards - Teams
In this module, learn what is card text formatting in Microsoft Teams and format cards with markdown.
Read more >Input.ChoiceSet - Schema Explorer
Used to identify collected input when the Submit action is performed. 1.0. choices, Input.Choice[], No, Choice options. 1.0. isMultiSelect ...
Read more >Use Adaptive Cards to Update Microsoft Lists from Teams ...
In this blog post I will show how to update a Choice column in Microsoft Lists using a Microsoft Teams Adaptive Card and...
Read more >Adaptive Cards
Also, I found this effective for only 1 Action from the Microsoft Team's Adaptive Card related actions. Not others. Adaptive Card to Teams...
Read more >Quiz settings - MoodleDocs
This page describes the options you can set for the quiz activity. ... of the Quiz administration settings block) All settings may expanded...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tonyanziano Thanks for the update. I’ll wait for the working build to come and test again. Still able to repro my issue on the release version of 4.3.3, so not sure what is going on and why you don’t see the same thing.
Closing due to inactivity - @garypretty reach out if you’re still having trouble!