[Rendering] Action.Submit in combination with Input.Number under Action.Showcard does not work
See original GitHub issueTarget Platforms
iOS, Android, Other
SDK Version
1.2
Application Name
Microsoft Teams
Problem Description
Tested on Teams for iOS, Android, Windows client and Teams web client and they all experience the same issue.
I have a flow in power automate that uses the “Post adaptive card and wait for a response” action.
The Action.Submit button under Action.ShowCard does not work if the input type is Input.Text in the “sub-adaptive card”.
If i change the input to Input.Text everything works as expected.
Screenshots
No response
Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Status",
},
{
"type": "Input.Text",
"placeholder": "Status",
"id": "txtStatus",
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit status"
},
{
"type": "Action.ShowCard",
"title": "Submit something else",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "Something:",
"wrap": true
},
{
"type": "Input.Number",
"id": "NumberOfDays"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Set number",
"value": 3
}
]
}
}
]
}
Sample Code Language
No response
Sample Code
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Adaptive card with Action.ShowCard not rendering in MS ...
ShowCard example. We sent this card using power automate flow. It is rendered properly and is working fine. Attaching screenshots of the same....
Read more >Action.ShowCard
The Adaptive Card to show. Inputs in ShowCards will not be submitted if the submit button is located on a parent card. See...
Read more >Action.Submit
Submit", Yes, Must be "Action.Submit" . 1.0. data, string , object, No, Initial data that input fields will be combined with. These are...
Read more >Input.ChoiceSet inside Action.ShowCard card not working ...
I'm using the node library npmjs.com/package/botbuilder Also if I try my sample using App Studio in Microsoft Teams it works fine, I can...
Read more >Adaptive cards not rendering in iOS if "Action.ShowCard" is ...
I think I found the issue now: The problem seems to be the comment input field inside the nested card that is triggered...
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
Thanks for providing the JSON. I tried it. Yes, this is not reproducing on our sample apps. @RebeccaAnne, can you raise this issue with Teams?
This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/4299