@@ -9,11 +9,11 @@ The ``password`` field renders an input password text box.
9
9
+-------------+------------------------------------------------------------------------+
10
10
| Rendered as | ``input `` ``password `` field |
11
11
+-------------+------------------------------------------------------------------------+
12
+ | Options | - `always_empty `_ |
13
+ +-------------+------------------------------------------------------------------------+
12
14
| Overridden | - `trim `_ |
13
15
| options | |
14
16
+-------------+------------------------------------------------------------------------+
15
- | Options | - `always_empty `_ |
16
- +-------------+------------------------------------------------------------------------+
17
17
| Inherited | - `disabled `_ |
18
18
| options | - `empty_data `_ |
19
19
| | - `error_bubbling `_ |
@@ -30,19 +30,6 @@ The ``password`` field renders an input password text box.
30
30
| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ PasswordType ` |
31
31
+-------------+------------------------------------------------------------------------+
32
32
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
-
46
33
Field Options
47
34
-------------
48
35
@@ -59,6 +46,18 @@ Put simply, if for some reason you want to render your password field
59
46
*with * the password value already entered into the box, set this to false
60
47
and submit the form.
61
48
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.
62
61
63
62
Inherited Options
64
63
-----------------
0 commit comments