Microsoft Teams app as well as website, on both Windows and MacOS.
SDK Version
1.5
Application Name
Microsoft Teams
Problem Description
When an Adaptive Card has a filtered Input.ChoiceSet that has two options with the same titles but different ids, the card rendering in Microsoft Teams accumulates duplicates that don't go away when the card loses focus.
While I agree that in general ChoiceSets would ideally have options with unique titles, this UI quirkiness turns what would normally be just a likely ignored duplicate entry into a confusing and buggy-looking experience.
Steps to reproduce (using the card produced by the sample curl command):
Click the "Fruit" field.
Type "b"
Type backspace
Repeat steps (2) and (3) a few times. Note that the duplicated entry "Banana" gets added to the card below the dropdown each time, even though nothing was selected.
Click away from the card to see that the duplicates are still shown on the card even when it loses focus.
Target Platforms
Microsoft Teams app as well as website, on both Windows and MacOS.
SDK Version
1.5
Application Name
Microsoft Teams
Problem Description
When an Adaptive Card has a filtered Input.ChoiceSet that has two options with the same titles but different ids, the card rendering in Microsoft Teams accumulates duplicates that don't go away when the card loses focus.
While I agree that in general ChoiceSets would ideally have options with unique titles, this UI quirkiness turns what would normally be just a likely ignored duplicate entry into a confusing and buggy-looking experience.
Steps to reproduce (using the card produced by the sample curl command):
Screenshots
Card JSON
Sample Code Language
Curl
Sample Code