Skip to content

Commit 2b63f24

Browse files
committed
Fixed the order of the different options
1 parent e14b650 commit 2b63f24

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

reference/forms/types/password.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The ``password`` field renders an input password text box.
99
+-------------+------------------------------------------------------------------------+
1010
| Rendered as | ``input`` ``password`` field |
1111
+-------------+------------------------------------------------------------------------+
12+
| Options | - `always_empty`_ |
13+
+-------------+------------------------------------------------------------------------+
1214
| Overridden | - `trim`_ |
1315
| options | |
1416
+-------------+------------------------------------------------------------------------+
15-
| Options | - `always_empty`_ |
16-
+-------------+------------------------------------------------------------------------+
1717
| Inherited | - `disabled`_ |
1818
| options | - `empty_data`_ |
1919
| | - `error_bubbling`_ |
@@ -30,19 +30,6 @@ The ``password`` field renders an input password text box.
3030
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\PasswordType` |
3131
+-------------+------------------------------------------------------------------------+
3232

33-
Overridden Options
34-
------------------
35-
36-
trim
37-
~~~~
38-
39-
**default**: ``false``
40-
41-
Unlike the rest of form types, the ``password`` type doesn't apply the
42-
:phpfunction:`trim` function to the value submitted by the user. This ensures that
43-
the password is merged back onto the underlying object exactly as it was typed
44-
by the user.
45-
4633
Field Options
4734
-------------
4835

@@ -59,6 +46,18 @@ Put simply, if for some reason you want to render your password field
5946
*with* the password value already entered into the box, set this to false
6047
and submit the form.
6148

49+
Overridden Options
50+
------------------
51+
52+
trim
53+
~~~~
54+
55+
**default**: ``false``
56+
57+
Unlike the rest of form types, the ``password`` type doesn't apply the
58+
:phpfunction:`trim` function to the value submitted by the user. This ensures that
59+
the password is merged back onto the underlying object exactly as it was typed
60+
by the user.
6261

6362
Inherited Options
6463
-----------------

0 commit comments

Comments
 (0)