Selection disappears when action button is clicked in adaptive cards - microsoft-teams

I am using Input Choice List but when I click on submit button,the selected value from the choicelist disappears in the card.
Adaptive Card version: 1.0
I am trying to post this card to Microsoft Teams.

As mentioned in my answer to the other question, this is expected behavior in Microsoft Teams. You can use the workaround I provided there, or you can ask Teams to change this behavior in their builtin feedback system:

Related

How to add custom UI elements inside chat window using MS Teams Toolkit?

I previously worked on creating VSTO and Office addins for MS Outlook, Excel and Word using C# VS. Now I have a plan to build one for MS teams. So, I checked online and found the documentation.
But I didn't found that how I can add custom UI elements (text, buttons etc.) inside a chat window. For example: Teams suggested replies shows suggestions inside button above the chat textbox.
Do anybody have an idea that how I can achieve this one?
you might want to start with these docs:
build a command-response bot that you can customize the messages in chat window to either text or adaptive cards (on which you can have buttons).
and notification bot doc which has more information on customizing adaptive card for Teams apps.
there are also docs on message extension on the same doc site, you can take a look to decide which is what you want to build.

Add button in an item of a List Card

there's a way to add a button or a link on the right side of the items of a List Card on Teams? Similar to this image for illustration.
list card example
Some of my users are complaining that the UX of this component could not make clear that it is a clickable card.
Any thoughts on adding a button or similar to the card items?
If you are developing a custom bot using Bot Framework, you can try AdaptiveCards instead.
It can't scroll like ListCard, but you can use some kind of pagination if it suits your needs.
Check on this:
https://adaptivecards.io/samples/
There doesn't seems to be any way to add a button or a link on the right side of the items of a List Card on Teams.

Giving users the ability to tab through form

Anyone know if there is a trick to giving users the ability to tab through the fields in an adaptive card in Microsoft Teams?

How to implement Search members functionality (Similar to Praise App) in Adaptive Card invoked via MS Team's Message Extension feature

I am working on MS-Team App which has features similar to Praise(Default app). This app will have "Message Extension" capability which will enable user to invoke it from bar/compose section and will show a wizard. The wizard is implemented through task/fetch-continue-submit workflow.
My question is that in Praise app, I can see a functionality of searching users and then adding it to a list(See attached image). I think that is built inside Adaptive Card but I don't see any such control/event in adaptive card to implement same thing. So how they have implemented it or there is something I am missing?
I don't think you can do this with adaptive cards and will need to make your own custom UI to display via a task module response.
Over at the adaptive cards feature portal, you can vote for this as a feature to add: Dynamic searchable select menu (like select2)
(I also would very much like to do this in an adaptive card from a messaging extension, so I'll be interested to hear if anyone else thinks there's a way to do it.)

Possible to change the size of rendered cards?

is it possible to change the size of these cards in Skype or any other messaging platform available via the Microsoft Bot Framework?
As you can see the text is cut off which is problematic, since it doesn't seem like it's possible to expand the card in the Skype UI.
As Ed said, you would have to modify the card's code itself. The cards are rendered differently depending on the channel you view them through. There is a slightly outdated channel inspector here that shows how the different card types are rendered on each channel, if they render at all (for example, adaptive cards do not work well, if at all, on Skype, and Lists look dumb on Facebook).

Resources