AdaptiveCards
AdaptiveCards copied to clipboard
[Doc-enhancement] Action.ToggleVisibility without targetElements is leading to issue in Mobile
Messaging extension posted by a bot that returns an adaptive card. It shows perfectly fine in web/desktop teams. But showing blank in iOS mobile. I see issue with card JSON. Action.ToggleVisibility must have targetElements property. But it is missing in my card JSON. So, Issue fixed by correcting the same.
As the behavior in Web/Desktop and mobile is different, it would be ideal to callout as known behavior. Known behavior: If the required field like targetElements is missing in card with Action.ToggleVisibility, it would render as blank card in mobile.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 922162da-317d-8dac-246b-22fe95602c68
- Version Independent ID: f136f12a-dece-cde4-f3e3-768e1886903b
- Content: Input Validation - Adaptive Cards
- Content Source: AdaptiveCards/authoring-cards/input-validation.md
- Product: adaptive-cards
- GitHub Login: @RebeccaAnne
- Microsoft Alias: rebecch