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 #11731

Open
ChetanSharma-msft opened this issue Oct 25, 2024 · 4 comments
Open

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

ChetanSharma-msft opened this issue Oct 25, 2024 · 4 comments
Assignees
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@ChetanSharma-msft
Copy link
Collaborator

Steps to reproduce

Copied from: microsoft/AdaptiveCards#8999
Posted by: @khannasid

Details:

Hi Team,
While working on to the Adaptive Crds'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"
}
]
}

Expected behavior

NA

Actual behavior

NA

Error details

No response

@ChetanSharma-msft ChetanSharma-msft added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Oct 25, 2024
@sayali-MSFT
Copy link

@khannasid- Thanks for reporting your issue.
We will check this at our end and will get back to you.

@sayali-MSFT
Copy link

@khannasid- We are able to reproduce the scenario. We are checking with the engineering team to determine if it is default behavior or a bug, and we will let you know the update.
image

@khannasid
Copy link

Hi @sayali-MSFT
Thanks for the update.

@sayali-MSFT
Copy link

We have raised a bug for this issue, and our engineering team is currently investigating it.

We will keep you informed as soon as we have any updates. Thank you for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

5 participants