[英]Do we have a password reset adaptive card in MS Teams?
I am creating a password reset flow and wondering if we an adaptive card which includes 'new password' and 'confirm password' na single card.我正在创建一个密码重置流程,想知道我们是否是一张包含“新密码”和“确认密码”的自适应卡。 Something like below
像下面这样的东西
I know I could use 2 adaptive card with Input.text and style = password to achieve this.我知道我可以使用 2 个带有 Input.text 和 style = password 的自适应卡来实现这一点。 Wondering if we have anythign else.
想知道我们是否还有其他事情。
You can use multiple input test box in a single adaptive card.您可以在单个自适应卡中使用多个输入测试盒。 to add New password and conform password you can use two input boxes in the single adaptive card.
要添加新密码和确认密码,您可以在单个自适应卡中使用两个输入框。
Example:例子:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "Please enter your new password below:",
"wrap": true,
"weight": "Bolder",
"size": "Medium"
},
{
"type": "TextBlock",
"text": "New Password*",
"wrap": true
},
{
"type": "Input.Text",
"placeholder": "***************"
},
{
"type": "TextBlock",
"text": "Repeat New Password*",
"wrap": true
},
{
"type": "Input.Text",
"placeholder": "***************"
}
]
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.