File tree Expand file tree Collapse file tree 1 file changed +38
-3
lines changed
Expand file tree Collapse file tree 1 file changed +38
-3
lines changed Original file line number Diff line number Diff line change 44form Field Type
55===============
66
7- See :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FormType `.
8-
97The ``form `` type predefines a couple of options that are then available
10- on all fields.
8+ on all types for which ``form `` is the parent type.
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+ +---------+--------------------------------------------------------------------+
43+
44+ Options
45+ -------
1146
1247.. include :: /reference/forms/types/options/data.rst.inc
1348
You can’t perform that action at this time.
0 commit comments