diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 31780d73084..99fb9aa1722 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -74,8 +74,10 @@ Defines the ``format`` option that will be passed down to the date field. See the :ref:`DateType's format option ` for more details. -The ``date_format`` option does not have any effect when the form is rendered -as an HTML5 datetime input. +.. deprecated:: 4.3 + + Using the ``date_format`` option when the form is rendered as an HTML 5 + datetime input is deprecated since Symfony 4.3. date_label ~~~~~~~~~~ @@ -96,7 +98,10 @@ date_widget .. include:: /reference/forms/types/options/date_widget_description.rst.inc -The ``date_widget`` option is ignored when the ``widget`` option is set to ``single_text``. +.. deprecated:: 4.3 + + Using the ``date_widget`` option when the ``widget`` option is set to + ``single_text`` is deprecated since Symfony 4.3. .. include:: /reference/forms/types/options/days.rst.inc @@ -139,7 +144,7 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will cause the field to be rendered as an ``input`` field with ``type="datetime-local"``. For more information on valid formats, see `Date/Time Format Syntax`_. -.. versionadded:: 4.3 +.. deprecated:: 4.3 Using the ``format`` option when the ``html5`` option is enabled is deprecated since Symfony 4.3. @@ -203,7 +208,10 @@ time_widget Defines the ``widget`` option for the :doc:`TimeType `. -The ``time_widget`` option is ignored when the ``widget`` option is set to ``single_text``. +.. deprecated:: 4.3 + + Using the ``time_widget`` option when the ``widget`` option is set to + ``single_text`` is deprecated since Symfony 4.3. .. include:: /reference/forms/types/options/view_timezone.rst.inc @@ -216,11 +224,6 @@ Defines the ``widget`` option for both the :doc:`DateType `. This can be overridden with the `date_widget`_ and `time_widget`_ options. -.. versionadded:: 4.3 - - Using the ``date_format``, ``date_widget``, and ``time_widget`` options when - the ``widget`` option is set to ``single_text`` is deprecated since Symfony 4.3. - .. include:: /reference/forms/types/options/with_minutes.rst.inc .. include:: /reference/forms/types/options/with_seconds.rst.inc