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

How to control the state of the Stepper when the components are used? #43

Open
dheerajsinghnagdali opened this issue Feb 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@dheerajsinghnagdali
Copy link

I'm using the components provided such as Stepper and Step in order to add steps to my website. However, I'm struggling to control the state of the Stepper component. I would appreciate any kind of help. Thanks for this library.

@dheerajsinghnagdali dheerajsinghnagdali changed the title How to control state of the Stepper when the components are used? How to control the state of the Stepper when the components are used? Feb 14, 2024
@raisiqueira
Copy link
Owner

Hey @dheerajsinghnagdali, could you please share an example of the code that you need help with? I believe that with an example, I can help you.

@raisiqueira raisiqueira added the help wanted Extra attention is needed label Feb 15, 2024
@raisiqueira raisiqueira self-assigned this Feb 15, 2024
@rahul-wos
Copy link

@raisiqueira I think he means how can he navigate the steps prev/next when using the and components.

@raisiqueira
Copy link
Owner

Hey @rahul-wos Thanks for the highlight, I noticed that has a bug when using the components, basically we can't control the current step using an external store (such as useState). I'll fix the issue and update the documentation with an example.

You can check the bug on Code Sandbox

@raisiqueira raisiqueira added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants