Issue with Dynamic Form Fields in Adaptive Cards for MS Teams Bot
Hello Team,
I am currently developing a bot for Microsoft Teams using the Bot Framework, and I am leveraging Adaptive Cards for user interactions. I have a requirement where users can dynamically add more fields to a form within the same Adaptive Card by clicking an "Add More" button.
However, I am facing an issue where every time the user clicks the "Add More" button, the entire Adaptive Card gets re-rendered. My goal is to have the additional fields added seamlessly to the existing card without re-rendering the entire card. In other words, I need a way to make the Adaptive Cards dynamic so that additional input fields can be appended to the current card content without a complete refresh of the card.
Is there a way to achieve this behavior with Adaptive Cards in Microsoft Teams? If so, could you please guide me on how to implement it?