Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 7 commits intosymfony:2.3frombicpi:document_action_and_method_form_options
Mar 4, 2014
Merged

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

weaverryan merged 7 commits intosymfony:2.3frombicpi:document_action_and_method_form_options
Mar 4, 2014

Conversation

bicpi
Copy link
Contributor

QA
Doc fix?no
New docs?yes
Applies to2.3+
Fixed tickets#3410

I'm not sure of adding these two options as separate rst-files because I don't think they will get listed asinherited options. But no other options are embedded directly. Please let me know if I can improve that.

* PATCH

As PUT, DELETE and PATCH are not nativly supported by most clients, Symfony
simulates them, see :doc:`/cookbook/routing/method_parameters`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

for more information see ... || to read more see ...

@weaverryan
Copy link
Member

PATCH also has a special property in that if any fields are missing from the submit, those won't be removed:https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/Extension/HttpFoundation/HttpFoundationRequestHandler.php#L80

That uses the 2nd argument of thesubmit method, which is also not something we mention in the docs, but which is probably out of the scope here.

@bicpi Can you add a quick note about the PATCH behavior? Then, if you're ready, I'd like to merge this!

Cheers!

@wouterj
Copy link
Member

And this needs a rebase btw

@bicpi
Copy link
ContributorAuthor

Rebase done, will work on the missing update soon.

@bicpi
Copy link
ContributorAuthor

@weaverryan Added a note about the PATCH method, hope that it's well drafted.

@weaverryan
Copy link
Member

Thanks Philipp - very well done indeed - the slow merge was because of me :). Cheers!

weaverryan added a commit that referenced this pull requestMar 4, 2014
…nd "method" option (bicpi)This PR was merged into the 2.3 branch.Discussion----------[Reference][Form Types] Add missing docs for "action" and "method" option| Q             | A| ------------- | ---| Doc fix?      | no| New docs?     | yes| Applies to    | 2.3+| Fixed tickets |#3410I'm not sure of adding these two options as separate rst-files because I don't think they will get listed as `inherited` options. But no other options are embedded directly. Please let me know if I can improve that.Commits-------793c8a0 Add note about the PATCH method4555495 Update note wording for "method" option70ca6da Improvements after reviewcecc762 Update "method" descriptiona636945 Fixes after review83ff4b1 Improve descriptions1bf3ce0 [Reference][Form Types] Add missing docs for "action" and "method" option
@weaverryanweaverryan merged commit793c8a0 intosymfony:2.3Mar 4, 2014
weaverryan added a commit that referenced this pull requestMar 12, 2014
This PR was merged into the 2.3 branch.Discussion----------Minor tweaks to form action/methodThis adds a little bit more to#3436.The toughest part is the wording around explaining the PATCH behavior - suggestions warmly welcomed :).| Q             | A| ------------- | ---| Doc fix?      | no| New docs?     | no| Applies to    | 2.3+| Fixed tickets | noneThanks!Commits-------34f5b0c Some slight reordering of the form options - and also tweaking language around PATCH behavior
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@bicpi@weaverryan@wouterj@stof@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp