Input.ChoiceSet stay blank in Android
See original GitHub issueWhat platform is your issue or question related to?
- Android compileSdkVersion 26 buildToolsVersion ‘26.0.0’
I use the library ‘io.adaptivecards:adaptivecards-android:1.0.4’ and DirectLine with API REST 3.0 to exchange with the bot azure. I receive a AdaptiveCard from the Bot on my tablet SQOOL (Android 5.0 API 21) and my answers stay blank/ invisible. I can select one and send the correct value of my choice.
I havn’t this issue with a Samsung SM T580(Android 7.0 API 24).
{
"activities":[
{
"type":"message",
"id":"5KvhcJEBvUaEVU5vW0tO13|0000003",
"timestamp":"2018-09-14T14:40:52.6853575Z",
"localTimestamp":"2018-09-14T14:40:52.628+00:00",
"channelId":"directline",
"from":{
"id":"Jda-Bot-Jeanette",
"name":"Jda-Bot-Jeanette"
},
"conversation":{
"id":"5KvhcJEBvUaEVU5vW0tO13"
},
"inputHint":"acceptingInput",
"attachments":[
{
"contentType":"application/vnd.microsoft.card.adaptive",
"content":{
"type":"AdaptiveCard",
"version":"1.0",
"body":[
{
"type":"TextBlock",
"size":"large",
"weight":"bolder",
"text":"Voici les résultats",
"wrap":true
},
{
"type":"Input.ChoiceSet",
"id":"code**_1_10234",
"style":"expanded",
"isMultiSelect":false,
"choices":[
{
"title":"Intervention technique en contrôle essai qualité en électricité et électronique",
"value":"H04"
},
{
"title":"Études et développement informatique",
"value":"M05"
},
{
"title":"Installation et maintenance télécoms et courants faibles",
"value":"I17"
},
{
"title":"Intervention technique en formulation et analyse sensorielle",
"value":"H05"
}
]
}
],
"actions":[
{
"type":"Action.Submit",
"data":{
"id":"code**_1_10234",
"min":null,
"max":null
},
"title":"Valider"
},
{
"type":"Action.Submit",
"data":"autre",
"title":"Faire une nouvelle recherche"
}
]
}
}
],
"replyToId":"5KvhcJEBvUaEVU5vW0tO13|0000002"
}
],
"watermark":"3"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Input.ChoiceSet auto complete · Issue #3924
I'd really rather keep things separate and not introduce a convention for parsing the dataSet property into its various components. 1
Read more >Power Automate email using Adaptive card doesnt sh...
When i try to open the same email using Ios App i see a blank form when i open the email. Any clue...
Read more >Input.ChoiceSet - Schema Explorer
Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input...
Read more >Set a Default Value for Any Screen Component That ...
Now you can set a default value using any flow resource. Use a record query, an action, or another component. Or manually select...
Read more >Proper Adaptive Card Input.ChoiceSet Templating Structure
I'm reading the Adaptive Card schema for Input.ChoiceSet and I see that the card json "value": property can be set in the card...
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
Hi @ThomasNeolink,
I’ve tried your card on our test app on 2 emulators with API 21 (5.0 Lollipop) and I can see the text without problem. This was both our
release/1.0
branch and the currentmaster
branch. Would you be able to try our test app with your SQOOL device?I only dropped in on the thread to acknowledge the build issue. It’s been resolved. As for the rest, I’ll let @almedina-ms comment, but my guess is that this should be closed.