microsoft / microsoft/AdaptiveCards
.NET SDK - `TableCell` is defaulted to `Container` instead of `TableCell`
@jwoo-msft is already working on this.
Since Jun 19, 2023.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Platform
What platform is your issue or question related to? (Delete other platforms).
- .NET
Version of SDK
latest (NuGet 3.0.0)
Issue
Any instance of TableCell is defaulted to Container instead of TableCell. Due to this, any Adaptive Cards which contain a non-empty Table are unable to be rendered.
Trying to render the card on Microsoft Teams sends a "Bad Request"
Original reference & workaround is here
Steps to Reproduce
Try to render an Adaptive Card v1.5 with a non-empty Table i.e. with a row with a non-empty TableCell value will throw an error when it is being rendered on Microsoft Teams. This makes Adaptive Cards 1.5 with Table Support unusable for anyone using the .NET SDK who don't know the workaround.
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.
Assessment
This issue has not been assessed yet.