Open
Description
Is it an issue related to Adaptive Cards?
Yes, this is an Adaptive Card issue, however it only repro on Web Chat.
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
NPM
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Firefox (latest)
Which area does this issue affect?
Attachment: Adaptive Card
Which theme pack does this issue affect?
I did not test it on other theme packs
Please describe the bug
The choiceSet value disapears on firefox when disabling a card.
Do you see any errors in console log?
No
How to reproduce the issue?
- use The adaptiveCard below in the webchat
- disable the adaptiveCard in the code after recentBotMessages have been sent
- Open Webchat in Firefox
- Select a value in the ChoiceSet
- submit the card
What do you expect?
The selected input should still be visible
What actually happened?
The selected value disappear. Here an example with another ChoiceSet:
Adaptive Card JSON
{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Input.ChoiceSet",
"label": "New Input.ChoiceSet",
"choices": [
{
"title": "Choice 1",
"value": "value1"
},
{
"title": "Choice 2a",
"value": "value2"
},
{
"title": "Choice 3",
"value": "value3"
}
],
"placeholder": "Placeholder text"
}
]
}