AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

ChoiceSet IsSelected=True not working on BotEmulator

Open dkonyayev opened this issue 8 years ago • 7 comments

Platform

What platform is your issue or question related to? (Delete other platforms).

  • .NET HTML

Author or host

Author using BotEmulator

Version of SDK

AdaptiveCards v 0.5.1

Issue

On BotEmulator, items marked as IsSelected=true in ChoiceSet are not selected/checked.

dkonyayev avatar Sep 24 '18 21:09 dkonyayev

Hi @dkonyayev,

Can you please try on a more recent version? 0.5.1 was a preview that did not have all features implemented.

Thank you.

khouzam avatar Sep 25 '18 04:09 khouzam

When I do a search for Microsoft.AdaptiveCards using Nuget Package Manager in Visual Studio it only finds version "Latest Stable 0.5.1". Should I clone the project and make it part of my solution?

dkonyayev avatar Sep 25 '18 13:09 dkonyayev

Hi @dkonyayev,

We've deprecated the Microsoft.AdaptiveCards package in favor of simply AdaptiveCards.*

Version 1.0 is the latest and we're very close to releasing 1.1.

khouzam avatar Sep 25 '18 17:09 khouzam

I could swear I read somewhere for another issue to go from AdaptiveCards to Microsoft.AdaptiveCards, and I have. I will go back, hopefully whatever the old issue was it will not reappear.

dkonyayev avatar Sep 26 '18 17:09 dkonyayev

I upgraded to AdaptiveCards 1.0.3 and the issue still exists in BotEmulator. I will be moving this to environment where I can use webchat and I will test it there as well.

dkonyayev avatar Sep 26 '18 17:09 dkonyayev

Sorry, I had misread the issue.

This is actually expected. isSelected has been deprecated from the Choice element in favor of ChoiceSet.Value as described in our documentation

khouzam avatar Sep 26 '18 18:09 khouzam

Thank you, that fixed the issue.

dkonyayev avatar Sep 26 '18 19:09 dkonyayev