Commit 69d4ef5
committed
minor #16157 [Form] Ajax success method is never call (Yoann-TYT)
This PR was merged into the 5.3 branch.
Discussion
----------
[Form] Ajax success method is never call
The method `renderForm` generate a `422 Unprocessable Entity` if the form is invalid. So we can’t pass in the `success` method. I suggest to replace it with the `complete` method.
Commits
-------
8a5ac31 The method renderForm generate a 422 Unprocessable Entity if the form is invalid. So we can’t pass in the success method. I suggest to replace it with the complete method.1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
0 commit comments