2 Commits
Author SHA1 Message Date
Tortue Torche 9e2a40555a Merge branch 'patch-1' into 5.5 2017-12-22 14:09:39 +01:00
Tortue Torche 3688b0e433 Form method of hidden input '_method' is preserved on next request
E.G. When you submitted data across a form with a 'PATCH' method and then in a second submit you use a form with a 'DELETE' method, the FormBuilder::getValueAttribute() method use the previous value of the hidden input '_method'.
So the value is replaced by 'PATCH' instead of the 'DELETE' value.
2017-08-09 14:23:33 +02:00