Botframework-webchat: Adaptive Card multiselect ChoiceSet

Created on 30 Jul 2018  路  8Comments  路  Source: microsoft/BotFramework-WebChat

At the moment a ChoiceSet in an adaptive card with isMultiSelect: true is rendered as a group of checkboxes regardless of the style property. For style:compact shouldn't that be a <select multiple> instead?

Bug P2

Most helpful comment

All 8 comments

This is related to and should be raised at https://github.com/Microsoft/AdaptiveCards
Also, as a personal choice I prefer checkboxes that select multiple

Isn't card rendering implemented at the channel level?

@FilipFilipov the card is render at channel level. But unlike other Skype or other channels, Web Chat use the renderer written by Adaptive Cards team.

Can you repro the issue on Adaptive Cards Visualizer? We use the same engine, just different host config file.

@compulim even in visualizer they are rendered as check boxes

@corinagum can you check if this is related to the issue we talked about?

Also look at the documentation around Input.ChoiceSet.

I think this one belongs to Adaptive Cards repository.

Although Web Chat use renderer from Adaptive Cards, the settings on ChoiceSet is confusing (style: "compact" vs. isMultiSelect: true) and looks like the renderer they provided to Web Chat does not implement compact + multi-select via <select multiple>.

@FilipFilipov can you file a bug on Adaptive Cards instead?

Looks like they have not change their mind yet, unfortunately.

IMO, using browser native controls and honoring them is important. For example, mobile phone can show up different UI that help the user to easily multiselect things.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

compulim picture compulim  路  3Comments

Kellym-Kainos picture Kellym-Kainos  路  4Comments

prashanthsridhar picture prashanthsridhar  路  3Comments

filipjakov picture filipjakov  路  4Comments

naveen-vijay picture naveen-vijay  路  4Comments