@@ -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-
4633Field 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
6047and 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
6362Inherited Options
6463-----------------
0 commit comments