File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ day and year) or three select boxes (see the `widget`_ option).
3030| | - `years `_ |
3131+----------------------+-----------------------------------------------------------------------------+
3232| Overridden Options | - `by_reference `_ |
33+ | | - `compound `_ |
34+ | | - `data_class `_ |
3335| | - `error_bubbling `_ |
3436+----------------------+-----------------------------------------------------------------------------+
3537| Inherited | - `data `_ |
@@ -125,6 +127,17 @@ by_reference
125127
126128The ``DateTime `` classes are treated as immutable objects.
127129
130+ .. include :: /reference/forms/types/options/compound_type.rst.inc
131+
132+ data_class
133+ ~~~~~~~~~~
134+
135+ **default **: ``null ``
136+
137+ The internal normalized representation of this type is an array, not a ``\DateTime ``
138+ object. Therefore, the ``data_class `` option is initialized to ``null `` to avoid
139+ the ``FormType `` object from initializing it to ``\DateTime ``.
140+
128141error_bubbling
129142~~~~~~~~~~~~~~
130143
You can’t perform that action at this time.
0 commit comments