Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Javascript][Actions] [Execute ShowCardActions programmatically] #4818

Closed
SubliemeSiem opened this issue Sep 25, 2020 · 5 comments · Fixed by #4836
Closed

[Javascript][Actions] [Execute ShowCardActions programmatically] #4818

SubliemeSiem opened this issue Sep 25, 2020 · 5 comments · Fixed by #4836
Assignees
Labels
Milestone

Comments

@SubliemeSiem
Copy link

Platform

  • JavaScript

Version of SDK

npm 2.3.0

Details

The execute function does not work on a ShowCardAction. It does work on a SubmitAction. I have not checked the other action types.

Example

card.getActionAt(0).execute()
When the action at index 0 is a SubmitAction, the action is triggered. If it is a ShowCardAction it is not.

I need this to reset my card state after a rerender. Because of the way our application works, I may need to rerender the card on a internal store update, at which point I want to reset the state, including previously expanded subcards. I don't see another way to expand subcards programmatically.

@ghost ghost added this to the 20.10 milestone Sep 25, 2020
@ghost ghost added the Area-Inconsistency Bugs around renderer inconsistencies across different platforms label Sep 25, 2020
@ghost
Copy link

ghost commented Sep 25, 2020

please review this issue for target Milestone, Inconsistencies & Priority upon triage.

@shalinijoshi19
Copy link
Member

@dclaux could you take an initial first pass? thanks!

@shalinijoshi19 shalinijoshi19 removed Area-Inconsistency Bugs around renderer inconsistencies across different platforms High Priority labels Sep 27, 2020
@ghost ghost removed the Triage-Needed label Sep 27, 2020
@ghost
Copy link

ghost commented Sep 27, 2020

Hi @SubliemeSiem. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

@ghost
Copy link

ghost commented Sep 28, 2020

Hi @SubliemeSiem. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

@ghost ghost added the AdaptiveCards v20.10 label Oct 22, 2020
@RebeccaAnne RebeccaAnne removed this from the 20.10 milestone Oct 29, 2020
@ghost ghost removed the AdaptiveCards v20.10 label Oct 30, 2020
@golddove golddove added this to the 20.09 milestone Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants