Microsoft Teams自适应卡Input.ChoiceSet撇号以不同的方式呈现

时间:2019-10-21 19:14:27

标签: microsoft-teams

当我使用Input.ChoiceSet值为Microsoft Teams创建自适应卡并且该值包含撇号时,Microsoft Teams OS X和Web客户端显示',iOS和Android客户端显示撇号(正确) 。

在每种情况下我都可以做些什么来获取Input.ChoiceSet值来呈现撇号?

这是纸牌模式和下面的渲染。

{
  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "content": {
        "type": "AdaptiveCard",
        "version": "1.0",
        "body": [
          {
            "type": "Container",
            "items": [
              {
                "type": "TextBlock",
                "text": "Command Center",
                "size": "large",
                "weight": "bolder"
              },
              {
                "type": "TextBlock",
                "text": "Please choose a scenario to submit."
              },
              {
                "type": "Input.ChoiceSet",
                "id": "scenario-id",
                "style": "compact",
                "isMultiSelect": false,
                "value": "71ae62b1-f04e-11e9-b862-577308a243ca",
                "choices": [
                  {
                    "value": "71ae62b1-f04e-11e9-b862-577308a243ca",
                    "title": "Foo's Bar"
                  },
                  {
                    "value": "16db3124-f42d-11e9-bde7-819811d8b810",
                    "title": "Second"
                  }
                ]
              }
            ]
          }
        ],
        "actions": [
          {
            "type": "Action.Submit",
            "id": "popup",
            "title": "Continue...",
            "data": {
              "msteams": {
                "type": "task/fetch"
              }
            }
          }
        ]
      }
    }
  ]
}

Teams OS X and Teams Android Render

1 个答案:

答案 0 :(得分:0)

@MarkSingleWire感谢您举报。我们为此提出了一个错误,我们正在内部进行研究。

相关问题