【问题标题】:Microsoft Teams Adaptive Card Input.ChoiceSet Apostrophe Rendered DifferentlyMicrosoft Teams 自适应卡片 Input.ChoiceSet Apostrophe 以不同方式呈现
【发布时间】:2019-10-22 13:48:25
【问题描述】:

当我使用 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

【问题讨论】:

    标签: microsoft-teams


    【解决方案1】:

    @MarkSingleWire 感谢您报告此事。我们为此提出了一个错误,我们正在内部进行调查。

    【讨论】:

    • 您有修复的时间表吗?我们也有这个与 & 号有关的问题。
    猜你喜欢
    • 1970-01-01
    • 2019-10-29
    • 2019-01-18
    • 1970-01-01
    • 2021-02-06
    • 2019-02-24
    • 2021-04-11
    • 2020-04-06
    • 2021-12-17
    相关资源
    最近更新 更多