呈现相同的Microsoft Teams自适应卡Input.ChoiceSet,不带“值”(即没有默认值),显示Microsoft Teams Android Client中的默认值,但在OS X,Web或iOS Teams的下拉列表中没有默认选项客户...
如何在自适应卡中呈现相同的input.choiceSet,而在所有客户端中都没有相同卡的默认设置?
Teams Android and OS X Render Same Card
{
"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,
"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"
}
}
}
]
}
}
]
}
答案 0 :(得分:0)
@MarkSingleWire感谢您向我们报告。自适应卡不应为下拉列表选择任何默认值。我们为此提出了一个错误,我们正在对此进行调查。