提交后,自适应卡片不保留在文本框中输入的文本的值 - 在网络聊天中
After submit, Adaptive cards are not retaining value of text entered in text box - in Web chat
对于网络聊天,我使用的是简单的自适应卡。
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": 2,
"items": [
{
"type": "TextBlock",
"text": "Please enter the email id",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "Input.Text",
"placeholder": "abc@abc.com",
"id": "e_mail_id"
}
]
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
提交后,它在后端完成了理想的工作,但在自适应卡片的文本框中输入的值消失了。在调用提交操作后,我们如何保留自适应卡片中的值?
这是前端的问题。必须将网络聊天从版本 4.5.2 更新到 4.6.0。似乎这个问题已在最新版本的网络聊天中得到修复。
对于网络聊天,我使用的是简单的自适应卡。
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": 2,
"items": [
{
"type": "TextBlock",
"text": "Please enter the email id",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "Input.Text",
"placeholder": "abc@abc.com",
"id": "e_mail_id"
}
]
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
提交后,它在后端完成了理想的工作,但在自适应卡片的文本框中输入的值消失了。在调用提交操作后,我们如何保留自适应卡片中的值?
这是前端的问题。必须将网络聊天从版本 4.5.2 更新到 4.6.0。似乎这个问题已在最新版本的网络聊天中得到修复。