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

Issue in "https://adaptivecards.io/designer" website #8999

Open
khannasid opened this issue Sep 5, 2024 · 0 comments
Open

Issue in "https://adaptivecards.io/designer" website #8999

khannasid opened this issue Sep 5, 2024 · 0 comments

Comments

@khannasid
Copy link

Hi Team,
While working on to the AdaptiveCards's designer website, I encountered an issue where when I create a design via using platform UI there were places in the Adaptive Card's code where data/property of fields are been added in Headline case, which is giving a warning in VS code.

Here's the code:

{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "20px",
"minHeight": "0px",
"verticalContentAlignment": "Bottom",
"items": [
{
"type": "TextBlock",
"text": "$",
"spacing": "None", // Issue Here
"wrap": true,
"maxLines": 0,
"horizontalAlignment": "Center", // Issue Here
"weight": "Bolder", // Issue Here
"size": "Large" // Issue Here
}
],
"horizontalAlignment": "Center",
"spacing": "None" // Issue Here
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Number",
"id": "number",
"placeholder": "Enter a number",
"label": "Enter a number",
"min": 1,
"max": 1,
"value": 3,
"spacing": "None", // Issue Here
"isRequired": true,
"errorMessage": "please enter the quantity"
}
]
}
],
"spacing": "None", // Issue Here
"horizontalAlignment": "Center",
"style": "default"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Action.Submit"
}
]
}

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

No branches or pull requests

1 participant