AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Remove isSelected from schema

Open dsanvita opened this issue 9 years ago • 3 comments

The Choice schema has an isSelected property, but this is not implemented in the HTML renderer.

https://github.com/Microsoft/AdaptiveCards/pull/347

dsanvita avatar May 17 '17 18:05 dsanvita

There shouldn't be an isSelected property. This has already been discussed; just like any other input, the only way to pre-select a value (or several in the case of ChoiceSet) is to include the "value" property in the payload in the same format a client application would expect it at runtime, e.g. a comma-separated list of values. For instance, "1,2,3" where 1, 2 and 3 are three valid choice values in the ChoiceSet.

This issue should be changed into "Remove isSelected from schema."

dclaux avatar Jul 04 '17 07:07 dclaux

Thanks David, I'll take this on myself to update

matthidinger avatar Jul 04 '17 07:07 matthidinger

This is done

matthidinger avatar Nov 11 '17 00:11 matthidinger