AdaptiveCards
AdaptiveCards copied to clipboard
[Website] "firstRowAsHeaders" should be "firstRowAsHeader" in the sample on the page
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
I believe the schema should be updated to use firstRowAsHeaders instead of firstRowAsHeader
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