Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Styles should be case insensitive #48

@vivekhumnabad

Description

@vivekhumnabad

sampleAdaptiveCard.txt

Please refer to attached text file which contains JSON I am trying out.
this is not working..complete block is not showing up
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Tell us about yourself"
},

same if I change it to -
{
"type": "TextBlock",
"size": "medium",
"weight": "bolder",
"text": "Tell us about yourself"
},

shows up the text as expected.

The same issue exists with other params as well.
For e.g -"email", "tel", "small", "default".

It should work irrespective of text case. I verified the same JSON with upper case text in https://adaptivecards.io/designer website and everything works perfectly and in react-native it misses out if we use upper case text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions