Skip to content

Commit 793c8a0

Browse files
committed
Add note about the PATCH method
1 parent 4555495 commit 793c8a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/forms/types/options/method.rst.inc

+6
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ used to decide whether to process the form submission in the
2323
render a ``_method`` hidden field in your form. This is used to "fake"
2424
these HTTP methods, as they're not supported on standard browsers. For
2525
more information, see :doc:`/cookbook/routing/method_parameters`.
26+
27+
.. note:
28+
29+
Only the PATCH method allows submitting partial data without that missing
30+
fields are set to ``null`` in the underlying data (preserving default
31+
values, if any).

0 commit comments

Comments
 (0)