microsoft/AdaptiveCards

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

khannasid opened this issue · 0 comments

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"
}
]
}