File tree 1 file changed +20
-20
lines changed
1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,6 @@ The ``file`` type represents a file input in your form.
29
29
| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FileType ` |
30
30
+-------------+---------------------------------------------------------------------+
31
31
32
- Overridden Options
33
- ------------------
34
-
35
- .. include :: /reference/forms/types/options/compound_type.rst.inc
36
-
37
- data_class
38
- ~~~~~~~~~~
39
-
40
- **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
41
-
42
- This option sets the appropriate file-related data mapper to be used by the type.
43
-
44
- empty_data
45
- ~~~~~~~~~~
46
-
47
- **type **: ``mixed `` **default **: ``null ``
48
-
49
- This option determines what value the field will return when the submitted
50
- value is empty.
51
-
52
32
Basic Usage
53
33
-----------
54
34
@@ -112,6 +92,26 @@ multiple
112
92
113
93
When set to true, the user will be able to upload multiple files at the same time.
114
94
95
+ Overridden Options
96
+ ------------------
97
+
98
+ .. include :: /reference/forms/types/options/compound_type.rst.inc
99
+
100
+ data_class
101
+ ~~~~~~~~~~
102
+
103
+ **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
104
+
105
+ This option sets the appropriate file-related data mapper to be used by the type.
106
+
107
+ empty_data
108
+ ~~~~~~~~~~
109
+
110
+ **type **: ``mixed `` **default **: ``null ``
111
+
112
+ This option determines what value the field will return when the submitted
113
+ value is empty.
114
+
115
115
Inherited Options
116
116
-----------------
117
117
You can’t perform that action at this time.
0 commit comments