JsFormValidatorBundle icon indicating copy to clipboard operation
JsFormValidatorBundle copied to clipboard

Preserve submit button in the request

Open richard-ejem opened this issue 8 years ago • 0 comments

Currently, the submit button is not preserved because this package calls event.preventDefault, then, if the form is valid, sends form.submit(). I proposed a fix in #131 , so please take a look at it.

The problem is that such checks currently do not work in Symfony:

if ($myForm->get('back')->isClicked()) { ... }

richard-ejem avatar Aug 02 '17 13:08 richard-ejem