AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Properties with Required values should not render without a value

Open mrbrennonwilliams opened this issue 9 years ago • 2 comments

Several types show required properties in the schema, yet the element will still render without a value assigned.

Either a property is required or it is not and the renderer should honour such requirements

Examples

  • AdaptiveImage.url property is required, yet on TS the card will still render without it, while Android/iOS fails to render (#2665)

mrbrennonwilliams avatar Oct 15 '17 11:10 mrbrennonwilliams

@paulcam206 is this something that will be fixed with the isRequired element support that we're lighting up for 1.2?

shalinijoshi19 avatar Apr 15 '19 16:04 shalinijoshi19

Closing as TS no longer renders if the url isn't present for image

andrewleader avatar Jul 08 '19 17:07 andrewleader