Hyperlink in an AdaptiveCard Input.Toggle (either "text" or "label") is not rendering in Teams

Copper Contributor

I'm using the following JSON to specify a link in the text (and I also tried the label) of an Input.Toggle, but it does not work in Teams. It does work in the AdaptiveCards simulator, but not in the actual Teams product. Links do work within regular text blocks.

kitthirasaki_0-1704001160466.png

Example JSON:
{
"type": "TextBlock",
"text": "Please accept the [Terms of Service](https://snapinstruct.com/tos) and [Privacy Policy](https://snapinstruct.com/privacy).",
"wrap": true
},
{
"type": "Input.Toggle",
"title": "I accept the [Terms of Service](https://snapinstruct.com/tos)",
"id": "acceptTos",
"isRequired": true,
"errorMessage": "Accepting the Terms of Service is required",
"wrap": true,
"label": "[Terms of Service](https://snapinstruct.com/tos)"
},
{
"type": "Input.Toggle",
"title": "I accept the [Privacy Policy](https://snapinstruct.com/privacy)",
"id": "acceptPrivacy",
"isRequired": true,
"errorMessage": "Accepting the Privacy Policy is required",
"wrap": true,
"label": "Privacy Policy"
}

2 Replies

@kitthirasaki - Thanks for raising your issue. We will check this at our end and will update you accordingly.

This is by design. Markdown is only supported for TextBlock and Fact / FactSet in Teams.