JsFormValidatorBundle
JsFormValidatorBundle copied to clipboard
Preserve submit button in the request
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()) { ... }