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

Bug - Wizard - users must to revisit steps in order #10640

Open
dlabrecq opened this issue Jun 21, 2024 · 3 comments
Open

Bug - Wizard - users must to revisit steps in order #10640

dlabrecq opened this issue Jun 21, 2024 · 3 comments

Comments

@dlabrecq
Copy link
Member

dlabrecq commented Jun 21, 2024

Trying to update Cost Management to use the PF v5 wizard, but having trouble forcing users to revisit all steps. In our scenario, users can revisit a previous step, but they cannot skip the following (next) step.

Properties may be reset, based on choices from a previous step, so steps are expected to be visited in order. The new isVisitRequired prop lets users jump to any step, but it also allows steps to be visited out of order.

For v4, we used the step's isDisabled prop to achieve the desired behavior below. For example, while the step is greater than the current step index, it remains disabled. After clicking the next button, we were able to update the isDisabled prop based on the new step.

The v5 wizard jumps immediately to the next step, after clicking the next button. We're not able to update the isDisabled prop, unlike with the v4 wizard.

Desired behavior
chrome-capture-2024-5-21

Sandbox
https://codesandbox.io/p/sandbox/wizard-5zt7tj

@dlabrecq dlabrecq added the bug label Jun 21, 2024
@tlabaj tlabaj added the PF5 label Aug 8, 2024
@tlabaj
Copy link
Contributor

tlabaj commented Aug 8, 2024

Is this blocking you?

@dlabrecq
Copy link
Member Author

dlabrecq commented Aug 9, 2024

It's not blocking, but not expected behavior.

Copy link

github-actions bot commented Oct 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs info
Development

No branches or pull requests

2 participants