Skip to content

[.NET WPF][Input Validation] Crash in card with action set show card #4270

@RebeccaAnne

Description

@RebeccaAnne

Platform

What platform is your issue or question related to? (Delete other platforms).

  • .NET WPF

Details

When rendering the below card an exception is thrown when hitting the submit button on the main card. The card contains an action set with a show card containing a required input.

image

image

{
    "type": "AdaptiveCard",
    "version": "1.3",
    "body": [
        {
            "type": "TextBlock",
            "text": "New TextBlock"
        },
        {
            "type": "ActionSet",
            "actions": [
                {
                    "type": "Action.ShowCard",
                    "title": "Action.ShowCard",
                    "card": {
                        "type": "AdaptiveCard",
                        "body": [
                            {
                                "type": "Input.Text",
                                "isRequired": true,
                                "id": "foo"
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Action.Submit"
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions