Closed patrickkusebauch closed 3 years ago
$this->skipStepIf(2, function (array $values): bool {
return isset($values[1]) && $values[1]['seasonDesc'] === 'personal';
});
If first step is submitted with 'seasonDesc' === 'personal', second step is skipped and third step is rendered
I think it is self-explanatory. I am looking for a way to skip a step based on the values from a previous step.
I tried this naive solution, but to no avail:
However this results in
Component 'step3' already has a parent