8000 [Reference][Form Types] Add missing docs for "action" and "method" option by bicpi · Pull Request #3436 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Reference][Form Types] Add missing docs for "action" and "method" option #3436

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

Merged
merged 7 commits into from
Mar 4, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add note about the PATCH method
  • Loading branch information
bicpi committed Jan 24, 2014
commit 793c8a046252ec815d0e39c2a984b4a93bb813df
6 changes: 6 additions & 0 deletions reference/forms/types/options/method.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ used to decide whether to process the form submission in the
render a ``_method`` hidden field in your form. This is used to "fake"
these HTTP methods, as they're not supported on standard browsers. For
more information, see :doc:`/cookbook/routing/method_parameters`.

.. note:

Only the PATCH method allows submitting partial data without that missing
fields are set to ``null`` in the underlying data (preserving default
values, if any).
0