I'm not seeing an output for values submitted within an Action Set. In this example, I want the value for sport_2. I can get the value for sport_1 of course
@{body('POST_ADAPTIVE_CARD')?['data']?['sport_1']}
(this is my back up plan) but I want to use Action.ShowCard to have the edit function hidden.
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "**SPORT:** @{triggerBody()['text']} ",
"maxLines": 13,
"spacing": "Small"
},
{
"type": "Input.Text",
"id": "sport_1",
"value": "@{triggerBody()['text']}"
}, {
"type": "ActionSet",
"actions": [
{
"type": "Action.ShowCard",
"title": "Edit Information ✏️",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"id": "sport_2",
"value": "@{triggerBody()['text']}"
}
]
}
}
]
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "SUBMIT",
"id": "submit",
"associatedInputs": "auto"
}
]
}
]
}