简体   繁体   中英

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. 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": "***************"
        }
    ]
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM