@@ -74,8 +74,10 @@ Defines the ``format`` option that will be passed down to the date field.
7474See the :ref: `DateType's format option <reference-forms-type-date-format >`
7575for more details.
7676
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.
7981
8082date_label
8183~~~~~~~~~~
@@ -96,7 +98,10 @@ date_widget
9698
9799.. include :: /reference/forms/types/options/date_widget_description.rst.inc
98100
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.
100105
101106.. include :: /reference/forms/types/options/days.rst.inc
102107
@@ -139,7 +144,7 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will
139144cause the field to be rendered as an ``input `` field with ``type="datetime-local" ``.
140145For more information on valid formats, see `Date/Time Format Syntax `_.
141146
142- .. versionadded :: 4.3
147+ .. deprecated :: 4.3
143148
144149 Using the ``format `` option when the ``html5 `` option is enabled is deprecated
145150 since Symfony 4.3.
@@ -203,7 +208,10 @@ time_widget
203208
204209Defines the ``widget `` option for the :doc: `TimeType </reference/forms/types/time >`.
205210
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.
207215
208216.. include :: /reference/forms/types/options/view_timezone.rst.inc
209217
@@ -216,11 +224,6 @@ Defines the ``widget`` option for both the :doc:`DateType </reference/forms/type
216224and :doc: `TimeType </reference/forms/types/time >`. This can be overridden
217225with the `date_widget `_ and `time_widget `_ options.
218226
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-
224227.. include :: /reference/forms/types/options/with_minutes.rst.inc
225228
226229.. include :: /reference/forms/types/options/with_seconds.rst.inc
0 commit comments