AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[Website] "firstRowAsHeaders" should be "firstRowAsHeader" in the sample on the page

Open freemansoft opened this issue 2 years ago • 1 comments

The sample has an error.

firstRowAsHeaders should be firstRowAsHeader

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "Table",
            "gridStyle": "accent",
            "firstRowAsHeaders": true,

  • URL: https://adaptivecards.io/explorer/Table.html

freemansoft avatar Jul 05 '23 02:07 freemansoft

I believe the schema should be updated to use firstRowAsHeaders instead of firstRowAsHeader

anna-dingler avatar Jun 24 '24 17:06 anna-dingler

In MS Teams at least, firstRowAsHeaders (plural) works, singular does not.

My IDE complains when I use firstRowAsHeaders because the schema has the singular. But Teams ignores it if I use firstRowAsHeader.

Related issue https://github.com/MicrosoftDocs/msteams-docs/issues/9241

pmcgaley avatar Nov 08 '24 13:11 pmcgaley