Skip to content

[Rendering] ChoiceSet renders value instead of title label #391

Open
@boog

Description

@boog

Target Platforms

iOS

SDK Version

1.5

Application Name

Microsoft Teams

Problem Description

Rendering a Input.ChoiceSet in a Task dialogue, the ChoiceSet value is displayed to the user instead of the Choice.title on iOS. This is inconsistent with Desktop and Web client behavior. See screenshots displaying inconsistent behavior. Additionally, when submitting the dialog the displayed value is submitted instead of the choice.value field as on Desktop and Web client making it impossible or difficult to provide a consistent user experience across platforms.

Screenshots

Image
Choice.Title is Rendered on Desktop

Image
Choice.Value is Rendered on iOS client

Card JSON

{
    "type": "AdaptiveCard",
    "$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [

        {
            "id": "OwnerId",
            "type": "Input.ChoiceSet",
            "value": "005E200000NDIwOIAX",
            "label": "Case Owner",
            "choices": [
                {
                    "title": "User User",
                    "value": "005E200000NDIwOIAX"
                }
            ],
            "choices.data": {
                "type": "Data.Query",
                "dataset": "GET_FIELD_OPTIONS?objectName=Case&fieldName=OwnerId&controllingFields=",
                "associatedInputs": "auto"
            }
        }
    ]
}

Sample Code Language

No response

Sample Code

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions