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

Add the ability to invoke function on Wizard navigation buttons #950

Closed
van-vothanh opened this issue Aug 14, 2023 · 2 comments
Closed

Add the ability to invoke function on Wizard navigation buttons #950

van-vothanh opened this issue Aug 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@van-vothanh
Copy link
Member

Is your feature request related to a problem? Please describe.
We're implementing a wizard based form that requires the ability to invoke an arbitrary function when the Next or Previous buttons are clicked.

Is your feature request related to a specific component? Please add.
Yes, the FormRenderer component

Describe the solution you'd like
Add onNext and onPrevious props that accept function handlers and invoke them when the Next or Previous buttons are clicked

Describe alternatives you've considered
N/A

Additional context
Add any other context or screenshots about the feature request here.

@jessieweiyi
Copy link
Contributor

This issue has been resolved in version @aws-northstar/ui-v1.1.9 🎉

The release is available on:

npm package (@latest dist-tag)
GitHub release
Your semantic-release bot 📦🚀

@jessieweiyi
Copy link
Contributor

jessieweiyi commented Sep 13, 2023

We are currently experiencing Github page update issue. Please refer to the story NavigatingEvent in the file https://github.com/aws/aws-northstar/blob/main/packages/ui/src/components/FormRenderer/components/Wizard/index.stories.tsx to add onNavigating event handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants