Skip to content

Commit e14b650

Browse files
committed
Fixed the order of the different options
1 parent 0a5781b commit e14b650

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

reference/forms/types/datetime.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
1515
+----------------------+-----------------------------------------------------------------------------+
1616
| Rendered as | single text box or three select fields |
1717
+----------------------+-----------------------------------------------------------------------------+
18-
| Overridden options | - `by_reference`_ |
19-
| | - `compound`_ |
20-
| | - `data_class`_ |
21-
| | - `error_bubbling`_ |
22-
+----------------------+-----------------------------------------------------------------------------+
2318
| Options | - `date_format`_ |
2419
| | - `date_widget`_ |
2520
| | - `days`_ |
@@ -38,6 +33,11 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
3833
| | - `with_seconds`_ |
3934
| | - `years`_ |
4035
+----------------------+-----------------------------------------------------------------------------+
36+
| Overridden options | - `by_reference`_ |
37+
| | - `compound`_ |
38+
| | - `data_class`_ |
39+
| | - `error_bubbling`_ |
40+
+----------------------+-----------------------------------------------------------------------------+
4141
| Inherited | - `data`_ |
4242
| options | - `disabled`_ |
4343
| | - `inherit_data`_ |
@@ -51,25 +51,6 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
5151
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\DateTimeType` |
5252
+----------------------+-----------------------------------------------------------------------------+
5353

54-
Overridden Options
55-
------------------
56-
57-
by_reference
58-
~~~~~~~~~~~~
59-
60-
**default**: ``false``
61-
62-
The ``DateTime`` classes are treated as immutable objects.
63-
64-
.. include:: /reference/forms/types/options/compound_type.rst.inc
65-
66-
.. include:: /reference/forms/types/options/data_class_date.rst.inc
67-
68-
error_bubbling
69-
~~~~~~~~~~~~~~
70-
71-
**default**: ``false``
72-
7354
Field Options
7455
-------------
7556

@@ -155,6 +136,25 @@ with the `date_widget`_ and `time_widget`_ options.
155136

156137
.. include:: /reference/forms/types/options/years.rst.inc
157138

139+
Overridden Options
140+
------------------
141+
142+
by_reference
143+
~~~~~~~~~~~~
144+
145+
**default**: ``false``
146+
147+
The ``DateTime`` classes are treated as immutable objects.
148+
149+
.. include:: /reference/forms/types/options/compound_type.rst.inc
150+
151+
.. include:: /reference/forms/types/options/data_class_date.rst.inc
152+
153+
error_bubbling
154+
~~~~~~~~~~~~~~
155+
156+
**default**: ``false``
157+
158158
Inherited Options
159159
-----------------
160160

0 commit comments

Comments
 (0)