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

CheckoutActions: set "active" action via prop #379

Open
nnnnat opened this issue Nov 29, 2018 · 0 comments
Open

CheckoutActions: set "active" action via prop #379

nnnnat opened this issue Nov 29, 2018 · 0 comments
Labels
enhancement For issues that describe a feature that needs to be added, changed, or removed, but is not a bug

Comments

@nnnnat
Copy link
Contributor

nnnnat commented Nov 29, 2018

Type: minor

Describe the bug
Currently, the CheckoutActions component only allows a sequential flow of steps and no way to force any "step" as active without having the expected checkout data.

Expected behavior
The ablility to set the "active" action via a prop.

<CheckoutActions activeAction="3"  actions={...steps} />

Additional context
We're looking for a way to programmatically set the "step state" of the component without needing cart data or following a long set of user interactions to view a particular "state" of the checkout

@nnnnat nnnnat added enhancement For issues that describe a feature that needs to be added, changed, or removed, but is not a bug solution-engineering labels Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For issues that describe a feature that needs to be added, changed, or removed, but is not a bug
Projects
None yet
Development

No branches or pull requests

2 participants