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

Preserve submit button in the request #132

Open
richard-ejem opened this issue Aug 2, 2017 · 0 comments
Open

Preserve submit button in the request #132

richard-ejem opened this issue Aug 2, 2017 · 0 comments

Comments

@richard-ejem
Copy link

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()) { ... }
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