"adaptivecards": "^1.2.6",
We are using adaptivecards package with bot framework in spfx solution. Reference link: https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-adaptivecards
Details Data is getting wiped out once submit action taken on adaptive card. We are using below adaptive card package: "adaptivecards": "^1.2.6",
Issue a. When a user provides inputs to cards all data are seen whatever user has provided as input. b. As soon as a user submits an action button on that, a request is submitted to bot with all user input data. c. An issue is all user input data are wiped out.
This isn't a thing that happens in Web Chat. It used to be a thing that happens in Teams, but it seems like they changed the Teams behavior a while ago. The only reason this could happen in Web Chat is if you wrote custom code to make it happen in Web Chat. Out of the box, Web Chat simply doesn't have this problem.
My recommendation is to remove the code that's resetting your input fields. Failing that, you can write new code to set the input fields based on the submitted data.