react-stepper icon indicating copy to clipboard operation
react-stepper copied to clipboard

How to set Node Completed

Open nguyenvuhoang opened this issue 1 year ago • 3 comments

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

nguyenvuhoang avatar Feb 27 '24 16:02 nguyenvuhoang

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!

ReshmaJoshy avatar Feb 28 '24 08:02 ReshmaJoshy

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?

nguyenvuhoang avatar Feb 28 '24 14:02 nguyenvuhoang

@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!

ReshmaJoshy avatar Mar 07 '24 08:03 ReshmaJoshy