I am using some buttons in the form of adaptive cards under the Action property, but when I click the button, the data is displayed in teams mobile

Long Nguyen Van 0 Reputation points
2024-12-18T09:47:05.6033333+00:00

Dear It teams,

I send a json to display some button using adaptive card :

{
    "type": "message",
    "attachments": [
        {
            "contentType": "application/vnd.microsoft.card.adaptive",
            "content": {
                "type": "AdaptiveCard",
                "version": "1.5",
                "msteams": {
                    "width": "Full"
                },
                "body": [
                    {
                        "type": "ColumnSet",
                        "columns": [
                            {
                                "type": "Column",
                                "width": "stretch",
                                "items": [
                                    {
                                        "type": "TextBlock",
                                        "text": "1111111",
                                        "weight": "Bolder"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "actions": [
                    {
                        "type": "Action.Submit",
                        "title": "Validate",
                        "id": "saveButton",
                        "data": {
                            "action": "saveButton"
                        }
                    },
                    {
                        "type": "Action.Submit",
                        "title": "Cancel",
                        "associatedInputs": "none",
                        "id": "cancelButton",
                        "data": {
                            "action": "cancelButton"
                        }
                    }
                ]
            }
        }
    ]
}

But when I click the button in mobile , it show the data value like image below:

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,502 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 7,901 Reputation points Microsoft Vendor
    2025-01-21T07:59:55.2+00:00

    Long Nguyen Van - According to latest update from engineering team, Version 6.23.1 should contain the fix and, has been rolled out publicly. 

    It is necessary to update to latest version and ensure is 6.23.1 or higher

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.