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 set Node Completed #21

Open
nguyenvuhoang opened this issue Feb 27, 2024 · 3 comments
Open

How to set Node Completed #21

nguyenvuhoang opened this issue Feb 27, 2024 · 3 comments

Comments

@nguyenvuhoang
Copy link

I have give a action for set Current Step . But how can change value Complete --> True

@ReshmaJoshy
Copy link
Contributor

Thank you @nguyenvuhoang for trying out our package! Please ensure to update the completed field for each step individually in your onStepClick function (or equivalent) when updating the current step, as the package doesn't internally handle this. This ensures accurate tracking of progress, as simply setting the current step won't mark previous steps as completed automatically.

We introduced a separate completed field to provide flexibility, allowing steps to be optional. This way, users can progress without completing every step. We hope this clears up any confusion, and feel free to reach out if you have any more questions or doubts!

@nguyenvuhoang
Copy link
Author

But I want when I go through a step, the icon of the previous step displays successfully. If I want to do this, is there any way to do it?

@ReshmaJoshy
Copy link
Contributor

@nguyenvuhoang Apologies for the delayed response. Your question seems a bit unclear to me. Could you please provide more details or clarify your query? This will help me better understand and assist you. Thank you!

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

No branches or pull requests

2 participants