Forum Discussion

vijay2206's avatar
vijay2206
Copper Contributor
Jul 06, 2023

Secondary actions in adaptive cards not working properly

We have received reports from some of our users experiencing an unexpected behavior where clicking on the secondary action button does not result in the dropdown options being displayed.

 

The adaptive card:

{
    "type": "ActionSet",
    "actions": [
        {
            "title": "Create Ticket",
            "type": 'Action.Submit',
        },
        {
            "title": "Admin Help",
            "type": 'Action.Submit',
        },
        {
            "title": "HR Help",
            "type": 'Action.Submit',
        },
        {
            "title": "Marketing Help",
            "type": 'Action.Submit',
        },
        {
            "title": "IT Help",
            "type": 'Action.Submit',
            "mode": "secondary"
        }
    ]
}


When users click on the secondary action button, it should bring up the corresponding secondary options (expected behavior).


But some of our users have reported that when they click on the secondary action button, the associated secondary options are not being rendered as expected.

5 Replies

    • Meghana-MSFT's avatar
      Meghana-MSFT
      Icon for Microsoft rankMicrosoft

      vijay2206 - We are also able to reproduce this issue, it occurs in personal scope. Secondary actions in channel scope work fine. We have raised a bug for the same. We will keep you posted on the updates. Thank you.

       

      Thanks, 

      Meghana

      ---------------------------------------------------------------------------------------------------------- 

      If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

Resources