-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
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:
protected function createStep2(): Form
{
$values = $this->getValues();
if(isset($values['seasonDesc']) && $values['seasonDesc'] === 'personal') {
$this->setStep($this->getCurrentStep() + 1);
return $this->create(); //Since I have to return a Form
}
}However this results in Component 'step3' already has a parent
Metadata
Metadata
Assignees
Labels
No labels