CraueFormFlowBundle icon indicating copy to clipboard operation
CraueFormFlowBundle copied to clipboard

Add $stepForm in PreviousStepInvalidEvent

Open roukmoute opened this issue 2 years ago • 0 comments

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?

roukmoute avatar Dec 08 '22 23:12 roukmoute