MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
282 stars 504 forks source link

Adaptive Cards on Android missing Password toggle icon #8085

Open Wajeed-msft opened 1 year ago

Wajeed-msft commented 1 year ago

Copied bug from: https://github.com/microsoft/AdaptiveCards/issues/8249

Details from original post:

Target Platforms

Android

SDK Version

4.18

Application Name

Microsoft Teams Mobile - Android

Problem Description

Adaptive cards rendered on Android Mobile for a password field containing "style":"Password" are missing the Input visibility toggle icon( the Eye icon).

Screenshots

Android Adaptivecard Issue

Card JSON

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "horizontalAlignment": "Center",
            "wrap": true,
            "style": "heading",
            "text": "Sign in with Username & Password"
        },
        {
            "type": "Input.Text",
            "id": "user_name",
            "isRequired": true,
            "label": "Username",
            "errorMessage": "Username is required",
            "style": "Email",
            "placeholder": "e.g. user@company.com"
        },
        {
            "type": "Input.Text",
            "id": "password",
            "isRequired": true,
            "label": "Password",
            "errorMessage": "Password is required",
            "style": "Password"
        }
    ],
    "actions": [
        {
            "type": "Action.Execute",
            "title": "LOGIN",
            "verb": "login",
            "data": {
                "id": "LoginVal"
            }
        }
    ]
}

Sample Code Language

No response

Sample Code

No response---

Document Details

Do not edit this section.It is required for docs.microsoft.com ➟ GitHub issue linking.

ghost commented 1 year ago

Hi Wajeed-msft! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Prasad-MSFT commented 1 year ago

@RaghuramVelichetiEntytle - We checked this issue from our end and can confirm that the password toggle icon is not showing in Android. (Android 11) image Teams version: image

In Desktop/Web and iOS it works fine. Desktop/Web: image

iOS: image

We have raised a bug for the same and engineering team is looking into it. We will inform you once we get any further update. Thanks!