Identifying the current step when using getSteps() on CreateRecord class
Hey folks,
I have a class extending CreateRecord and I'm using getSteps() to create the steps on the form.
I find it impossible to figure out which step the user is on?
I've tried to add
->persistStepInQueryString() on the wizard component on mount() but it's hard to work with the generated output which is like form.data%3A%3Awizard.master-project%3A%3Adata%3A%3Awizard-step
Is there any other way I can do that?
I also wanted to avoid the url because the steps should not be skippable through the url.
I've tried to add a hidden input and update its value, I've tried to set an attribute, I had no luck so far.0 Replies