Skip to content
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

Add $stepForm in PreviousStepInvalidEvent #409

Open
roukmoute opened this issue Dec 8, 2022 · 0 comments
Open

Add $stepForm in PreviousStepInvalidEvent #409

roukmoute opened this issue Dec 8, 2022 · 0 comments

Comments

@roukmoute
Copy link

Hi,

I need to retrieve errors from previous step form.
It is not currently possible because PreviousStepInvalidEvent() take current step not the step which contain an error.

So I would like to know, if you accept that I do a P.R. to add new optional argument, to keep backward-compatibility, like this public function __construct(FormFlowInterface $flow, FormInterface $currentStepForm, $invalidStepNumber, FormInterface $invalidStepForm = null) {

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant