Teams Adaptive Card button color

Benoit Dupont 66 Reputation points
2023-02-06T13:40:04.3333333+00:00

Hello,

I'm developing a bot for Teams through Azure Bot Service.

There is a UI behaviour I don't understand regarding an Adaptive Cards form in response to a "composeExtension/fetchTask".

When the form appears on the screen, the Submit button is coloured like a primary button. When I start to fill the fields, the button turns white.

Why? I need the button to stay styles as "Primary". The button looks like disabled when it turns white.

Do I have to add something in the adaptive card code to force the button to keep the primary color?

Thanks

teams-btn-1

teams-btn-2

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,658 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.