@@ -7,39 +7,40 @@ form Field Type
7
7
The ``form `` type predefines a couple of options that are then available
8
8
on all types for which ``form `` is the parent type.
9
9
10
- +---------+--------------------------------------------------------------------+
11
- | Options| - `compound `_|
12
- | | - `data `_|
13
- | | - `data_class `_|
14
- | | - `empty_data `_|
15
- | | - `required `_|
16
- | | - `label `_|
17
- | | - `label_attr `_|
18
- | | - `constraints `_|
19
- | | - `cascade_validation `_|
20
- | | - `read_only `_|
21
- | | - `disabled `_|
22
- | | - `trim `_|
23
- | | - `mapped `_|
24
- | | - `property_path `_|
25
- | | - `attr `_|
26
- | | - `translation_domain `_|
27
- | | - `block_name `_|
28
- | | - `max_length `_|
29
- | | - `by_reference `_|
30
- | | - `error_bubbling `_|
31
- | | - `inherit_data `_|
32
- | | - `error_mapping `_|
33
- | | - `invalid_message `_|
34
- | | - `invalid_message_parameters `_|
35
- | | - `extra_fields_message `_|
36
- | | - `post_max_size_message `_|
37
- | | - `pattern `_|
38
- +---------+--------------------------------------------------------------------+
39
- | Parent| none|
40
- +---------+--------------------------------------------------------------------+
41
- | Class| :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FormType `|
42
- +---------+--------------------------------------------------------------------+
10
+ +-----------+--------------------------------------------------------------------+
11
+ | Options| - `compound `_|
12
+ | | - `data `_|
13
+ | | - `data_class `_|
14
+ | | - `empty_data `_|
15
+ | | - `required `_|
16
+ | | - `label_attr `_|
17
+ | | - `constraints `_|
18
+ | | - `cascade_validation `_|
19
+ | | - `read_only `_|
20
+ | | - `trim `_|
21
+ | | - `mapped `_|
22
+ | | - `property_path `_|
23
+ | | - `max_length `_|
24
+ | | - `by_reference `_|
25
+ | | - `error_bubbling `_|
26
+ | | - `inherit_data `_|
27
+ | | - `error_mapping `_|
28
+ | | - `invalid_message `_|
29
+ | | - `invalid_message_parameters `_|
30
+ | | - `extra_fields_message `_|
31
+ | | - `post_max_size_message `_|
32
+ | | - `pattern `_|
33
+ +-----------+--------------------------------------------------------------------+
34
+ | Inherited| - `block_name `_|
35
+ | options| - `disabled `_|
36
+ | | - `label `_|
37
+ | | - `attr `_|
38
+ | | - `translation_domain `_|
39
+ +-----------+--------------------------------------------------------------------+
40
+ | Parent| none|
41
+ +-----------+--------------------------------------------------------------------+
42
+ | Class| :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FormType `|
43
+ +-----------+--------------------------------------------------------------------+
43
44
44
45
Options
45
46
-------
@@ -60,8 +61,6 @@ Options
60
61
61
62
..include ::/reference/forms/types/options/required.rst.inc
62
63
63
- ..include ::/reference/forms/types/options/label.rst.inc
64
-
65
64
..include ::/reference/forms/types/options/label_attr.rst.inc
66
65
67
66
..include ::/reference/forms/types/options/constraints.rst.inc
@@ -70,20 +69,12 @@ Options
70
69
71
70
..include ::/reference/forms/types/options/read_only.rst.inc
72
71
73
- ..include ::/reference/forms/types/options/disabled.rst.inc
74
-
75
72
..include ::/reference/forms/types/options/trim.rst.inc
76
73
77
74
..include ::/reference/forms/types/options/mapped.rst.inc
78
75
79
76
..include ::/reference/forms/types/options/property_path.rst.inc
80
77
81
- ..include ::/reference/forms/types/options/attr.rst.inc
82
-
83
- ..include ::/reference/forms/types/options/translation_domain.rst.inc
84
-
85
- ..include ::/reference/forms/types/options/block_name.rst.inc
86
-
87
78
.. _reference-form-option-max_length :
88
79
89
80
..include ::/reference/forms/types/options/max_length.rst.inc
@@ -107,3 +98,26 @@ Options
107
98
.. _reference-form-option-pattern :
108
99
109
100
..include ::/reference/forms/types/options/pattern.rst.inc
101
+
102
+ ..include ::/reference/forms/types/options/action.rst.inc
103
+
104
+ ..include ::/reference/forms/types/options/method.rst.inc
105
+
106
+ Inherited options
107
+ -----------------
108
+
109
+ The following options are defined in the
110
+ :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ BaseType ` class.
111
+ The ``BaseType `` class is the parent class for both the ``form `` type and
112
+ the:doc: `button type </reference/forms/types/button >`, but it is not part
113
+ of the form type tree (i.e. it can not be used as a form type on its own).
114
+
115
+ ..include ::/reference/forms/types/options/block_name.rst.inc
116
+
117
+ ..include ::/reference/forms/types/options/disabled.rst.inc
118
+
119
+ ..include ::/reference/forms/types/options/label.rst.inc
120
+
121
+ ..include ::/reference/forms/types/options/attr.rst.inc
122
+
123
+ ..include ::/reference/forms/types/options/translation_domain.rst.inc