web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate Input.C...
Power Apps
Unanswered

Power Automate Input.ChoiceSet default values overwritten

(0) ShareShare
ReportReport
Posted on by

I have a power automate flow where I'm posting an adaptive card to MS Teams and waiting for a response. This card contains an Input.ChoiceSet for user input. I have some of the choices set to default but want the user to be able to toggle any/all choices and to have every option with a checkmark be counted as selected once the user submits the form. 

 

I've noticed that when I have default values and then select an additional input, the default values are ignored/overwritten.

Here's a basic example flow along with my adaptive card:

FlowOverview.png

AdaptiveCard.png

Composed Adaptive Card:

{
    "type": "AdaptiveCard",
    "version": "1.4",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "Input.ChoiceSet",
                    "choices": [
                        {
                            "title": "1",
                            "value": "1"
                        },
                        {
                            "title": "2",
                            "value": "2"
                        },
                        {
                            "title": "3",
                            "value": "3"
                        }
                    ],
                    "placeholder": "Placeholder text",
                    "isMultiSelect": true,
                    "isRequired": true,
                    "id": "userInput",
                    "value": "1",
                    "errorMessage": "must select option",
                    "label": "Options:",
                    "style": "expanded"
                }
            ]
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit",
            "associatedInputs": "auto",
            "style": "positive"
        }
    ]
}

Example 1:
Default = 1. User selects 2. 1 and 2 are checked on the adaptive card. Expected result = 1,2. Actual result = 2. 
"data": {
  "userInput": "2"
}

 
Example 2:
Default = 1. User selects 2 and then de-selects 2. 1 is checked on the adaptive card. Expected result = 1. Actual result = cannot submit because the card thinks that no options are selected.
 AdaptiveCard_error.png

 

Example 3:

Default = 1. User selects 2, then 3, then de-selects 1, then finally re-selects 1. 1, 2, and 3 are all checked on the adaptive card. Expected result = 1,2,3. Actual result:
"data": {
"userInput": "2,3,1"
}

(this scenario defeats the purpose of having default values but proves that the default value can still be registered so long as the user manually rechecks it)

 

I looked at this example here, which has Input.ChoiceSet behaving as expected. https://adaptivecards.io/explorer/Input.ChoiceSet.html It's using version 1.6. MS Teams only supports up to 1.5; however, I get this issue if I try to bump my adaptive card up to 1.5 

CanCantBeDisplayed.png

Is this a known issue with version 1.4? If not, are there any solutions or explanations to this issue? Any and all help is greatly appreciated. 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard