Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Designer] Data binding button produces invalid binding for arrays #8013

Open
soloughlin opened this issue Nov 4, 2022 · 0 comments · May be fixed by #8940
Open

[Designer] Data binding button produces invalid binding for arrays #8013

soloughlin opened this issue Nov 4, 2022 · 0 comments · May be fixed by #8940
Assignees

Comments

@soloughlin
Copy link

Problem Description

Clicking the ... or Bind... data binding button and selecting a property which is an array, or is contained in an array produces data binding strings in the form ${$root['propertyName[0]'}, which are not valid.

Card JSON

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "TextBlock",
            "text": "${$root['employees[0]']['name']}",
            "wrap": true
        }
    ],
    "data": {
        "employees": [
            {
                "name": "Gabriela Leticia"
            },
            {
                "name": "Natalia Tercera"
            },
            {
                "name": "Waleska Cristobal"
            }
        ]
    }
}

Screenshot

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants