question

green-9424 avatar image
0 Votes"
green-9424 asked Sayali-MSFT-0291 edited

[Adaptive Cards] Input.Choiceset is cleared when we click on Action.ShowCard.

Input.Choiceset is cleared when we click on Action.ShowCard.
It occurs on teams windows and teams web.

Example 1:
1. Select choice0C at ChoiceSet0.
2. Show ShowCard1.
3. ChoiceSet0 is cleared.

Example 2:
1. Show ShowCard1.
2. Select choice1C at ChoiceSet1.
3. Show ShowCard2.
4. Show ShowCard1.
5. ChoiceSet1 is cleared.

My adaptive card:

 {
   "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
   "type": "AdaptiveCard",
   "version": "1.4",
   "body": [
     {
       "type": "Input.ChoiceSet",
       "label": "ChoiceSet0",
       "id": "ChoiceSet0",
       "choices": [
         { "title": "choice0A", "value": "1a" },
         { "title": "choice0B", "value": "1b" },
         { "title": "choice0C", "value": "1c" }
       ]
     },
     {
       "type": "ActionSet",
       "actions": [
         {
           "type": "Action.ShowCard",
           "title": "ShowCard1",
           "id": "ShowCard1",
           "card": {
             "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
             "type": "AdaptiveCard",
             "version": "1.4",
             "body": [
               {
                 "type": "Input.ChoiceSet",
                 "label": "ChoiceSet1",
                 "id": "ChoiceSet1",
                 "choices": [
                   { "title": "choice1A", "value": "1a" },
                   { "title": "choice1B", "value": "1b" },
                   { "title": "choice1C", "value": "1c" }
                 ]
               }
             ]
           }
         },
         {
           "type": "Action.ShowCard",
           "title": "ShowCard2",
           "id": "ShowCard2",
           "card": {
             "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
             "type": "AdaptiveCard",
             "version": "1.4",
             "body": [
               {
                 "type": "Input.ChoiceSet",
                 "label": "ChoiceSet2",
                 "id": "ChoiceSet2",
                 "choices": [
                   { "title": "choice2A", "value": "2a" },
                   { "title": "choice2B", "value": "2b" },
                   { "title": "choice2C", "value": "2c" }
                 ]
               }
             ]
           }
         }
       ]
     }
   ]
 }
office-teams-app-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@green-9424- We are able to repro that issue , We already have raised bug for the same and concerned team is looking into it.
We will inform you once we get any update.


0 Votes 0 ·

0 Answers