FOSMessageBundle icon indicating copy to clipboard operation
FOSMessageBundle copied to clipboard

Is form submitted

Open victor-paumier opened this issue 6 years ago • 1 comments

Hi, sometimes I got an error saying:

Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid(). (from here)

Then, I checked the handler and indeed, $form->isSubmitted() is never called before $form->isValid(). So, is there is a really reason not to call isSubmitted or is this just an oversight?

Thank you!

victor-paumier avatar Oct 01 '19 08:10 victor-paumier

@victor-paumier I'd guess this is an oversight, currently getting back into things so I'll put this on my list proper for next week

softwarebycg avatar Jan 02 '20 13:01 softwarebycg