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

Commitacdd7ad

Browse files
committed
feature#7234 Added a note about formaction and formmethod attributes (javiereguiluz)
This PR was merged into the master branch.Discussion----------Added a note about formaction and formmethod attributesThisfixes#7233.Commits-------0f65b0c Added a note about formaction and formmethod attributes
2 parents5b619c9 +0f65b0c commitacdd7ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎components/dom_crawler.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ than just return the ``action`` attribute of the form. If the form method
415415
is GET, then it mimics the browser's behavior and returns the ``action``
416416
attribute followed by a query string of all of the form's values.
417417

418+
..versionadded::3.3
419+
Starting from Symfony 3.3, the optional ``formaction`` and ``formmethod``
420+
button attributes are supported. The ``getUri()`` and ``getMethod()``
421+
methods take into account those attributes to always return the right action
422+
and method depending on the button used to get the form.
423+
418424
You can virtually set and get values on the form::
419425

420426
// set values on the form internally

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp