Skip to content

Commit d80903e

Browse files
committed
minor #10982 Added a note about the deprecations of DateTimeType (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Added a note about the deprecations of DateTimeType Documents symfony/symfony#28721. Commits ------- 89f0296 Added a note about the deprecations of DateTimeType
2 parents 4ebf474 + 89f0296 commit d80903e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/forms/types/datetime.rst

+5
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ Defines the ``widget`` option for both the :doc:`DateType </reference/forms/type
203203
and :doc:`TimeType </reference/forms/types/time>`. This can be overridden
204204
with the `date_widget`_ and `time_widget`_ options.
205205

206+
.. versionadded:: 4.3
207+
208+
Using the ``date_format``, ``date_widget``, and ``time_widget`` options when
209+
the ``widget`` option is set to ``single_text`` is deprecated since Symfony 4.3.
210+
206211
.. include:: /reference/forms/types/options/with_minutes.rst.inc
207212

208213
.. include:: /reference/forms/types/options/with_seconds.rst.inc

0 commit comments

Comments
 (0)