8000 Added a note about the deprecations of DateTimeType · symfony/symfony-docs@89f0296 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89f0296

Browse files
committed
Added a note about the deprecations of DateTimeType
1 parent eb446d7 commit 89f0296

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/forms/types/datetime.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ Defines the ``widget`` option for both the :doc:`DateType </reference/forms/type
196196
and :doc:`TimeType </reference/forms/types/time>`. This can be overridden
197197
with the `date_widget`_ and `time_widget`_ options.
198198

199+
.. versionadded:: 4.3
200+
201+
Using the ``date_format``, ``date_widget``, and ``time_widget`` options when
202+
the ``widget`` option is set to ``single_text`` is deprecated since Symfony 4.3.
203+
199204
.. include:: /reference/forms/types/options/with_minutes.rst.inc
200205

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

0 commit comments

Comments
 (0)
0