@@ -74,8 +74,10 @@ Defines the ``format`` option that will be passed down to the date field.
74
74
See the :ref: `DateType's format option <reference-forms-type-date-format >`
75
75
for more details.
76
76
77
- The ``date_format `` option does not have any effect when the form is rendered
78
- as an HTML5 datetime input.
77
+ .. deprecated :: 4.3
78
+
79
+ Using the ``date_format `` option when the form is rendered as an HTML 5
80
+ datetime input is deprecated since Symfony 4.3.
79
81
80
82
date_label
81
83
~~~~~~~~~~
@@ -96,7 +98,10 @@ date_widget
96
98
97
99
.. include :: /reference/forms/types/options/date_widget_description.rst.inc
98
100
99
- The ``date_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
101
+ .. deprecated :: 4.3
102
+
103
+ Using the ``date_widget `` option when the ``widget `` option is set to
104
+ ``single_text `` is deprecated since Symfony 4.3.
100
105
101
106
.. include :: /reference/forms/types/options/days.rst.inc
102
107
@@ -139,7 +144,7 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will
139
144
cause the field to be rendered as an ``input `` field with ``type="datetime-local" ``.
140
145
For more information on valid formats, see `Date/Time Format Syntax `_.
141
146
142
- .. versionadded :: 4.3
147
+ .. deprecated :: 4.3
143
148
144
149
Using the ``format `` option when the ``html5 `` option is enabled is deprecated
145
150
since Symfony 4.3.
@@ -203,7 +208,10 @@ time_widget
203
208
204
209
Defines the ``widget `` option for the :doc: `TimeType </reference/forms/types/time >`.
205
210
206
- The ``time_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
211
+ .. deprecated :: 4.3
212
+
213
+ Using the ``time_widget `` option when the ``widget `` option is set to
214
+ ``single_text `` is deprecated since Symfony 4.3.
207
215
208
216
.. include :: /reference/forms/types/options/view_timezone.rst.inc
209
217
@@ -216,11 +224,6 @@ Defines the ``widget`` option for both the :doc:`DateType </reference/forms/type
216
224
and :doc: `TimeType </reference/forms/types/time >`. This can be overridden
217
225
with the `date_widget `_ and `time_widget `_ options.
218
226
219
- .. versionadded :: 4.3
220
-
221
- Using the ``date_format ``, ``date_widget ``, and ``time_widget `` options when
222
- the ``widget `` option is set to ``single_text `` is deprecated since Symfony 4.3.
223
-
224
227
.. include :: /reference/forms/types/options/with_minutes.rst.inc
225
228
226
229
.. include :: /reference/forms/types/options/with_seconds.rst.inc
0 commit comments