microsoft / microsoft/AdaptiveCards
[Website] Table element has incorrect key listed
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
The documentation has a typo, the key attribute should be called firstRowAsHeaders and not firstRowAsHeader, which causes validation issues. The example on the mentioned URL mentions the right usage of this key:
{ "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.5", "body": [ { "type": "Table", "gridStyle": "accent", "firstRowAsHeaders": true, "columns": [ ...
{ "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.5", "body": [ { "type": "Table", "gridStyle": "accent", "firstRowAsHeaders": true, "columns": [ ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Table documentation at https://adaptivecards.io/explorer/Table.html and compare the listed key with the example JSON. Rename firstRowAsHeader to firstRowAsHeaders, then verify the page consistently shows the corrected attribute and no longer causes validation issues.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100