-
Notifications
You must be signed in to change notification settings - Fork 560
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
Comments
please review this issue for target Milestone, Inconsistencies & Priority upon triage. |
@dclaux could you take an initial first pass? thanks! |
Hi @SubliemeSiem. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions. |
Hi @SubliemeSiem. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions. |
🎉 Handy links: |
Platform
Version of SDK
npm 2.3.0
Details
The
execute
function does not work on aShowCardAction
. It does work on aSubmitAction
. 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 aShowCardAction
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.
The text was updated successfully, but these errors were encountered: