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

Appearance settings

Commit eac3d21

Browse filesBrowse files
committed
minor #6281 Change isValid to isSubmitted. (mustafaaloko)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #6281). Discussion ---------- Change isValid to isSubmitted. Fixed this line: `isValid()` returns false if the form was not submitted. To this: `isSubmitted()` returns false if the form was not submitted. Commits ------- f44ec98 Change isValid to isSubmitted.
2 parents 9fb81a3 + f44ec98 commit eac3d21
Copy full SHA for eac3d21

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎book/forms.rst

Copy file name to clipboardExpand all lines: book/forms.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ possible paths:
260260
#. When initially loading the page in a browser, the form is simply created and
261261
rendered. :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`
262262
recognizes that the form was not submitted and does nothing.
263-
:method:`Symfony\\Component\\Form\\FormInterface::isValid` returns ``false``
263+
:method:`Symfony\\Component\\Form\\FormInterface::isSubmitted` returns ``false``
264264
if the form was not submitted.
265265

266266
#. When the user submits the form, :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.