8000 [Form] Add `MultiStepType` by silasjoisten · Pull Request #59548 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Add MultiStepType #59548

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

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
Psalm fix
  • Loading branch information
silasjoisten committed Jan 19, 2025
commit 8784a81582c441b7f19eb84b6d3879c487c44e82
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ public function configureOptions(OptionsResolver $resolver): void
return $value;
})
->setDefault('current_step', static function (Options $options): string {
return array_key_first($options['steps']);
/** @var string $firstStep */
$firstStep = array_key_first($options['steps']);

return $firstStep;
});
}

Expand Down
0