react
react copied to clipboard
How to advance page in a wizard without the next button?
I have a wizard with 3 pages, page1 has two buttons and it needs to advance to either page2 or page3 depending on which button is preset (the next, cancel and previous buttons are hidden) Each button is publishing an event but I don't know how to use the event parameters to transition to the next page? Is there a different way to address this?
First of all, consider using Advanced Next Page option in the Page's settings. It allows to decide which page should be opened depending on some conditions.
If it is not applicable for your case, so you can set your buttons to execute custom actions instead of emitting an event.
I am closing the issue as it was created too long ago and there is no new comments here. If the issue is not resolved, please reopen it. Thanks!