Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 89f0296

Browse filesBrowse files
committed
Added a note about the deprecations of DateTimeType
1 parent eb446d7 commit 89f0296
Copy full SHA for 89f0296

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎reference/forms/types/datetime.rst

Copy file name to clipboardExpand all lines: reference/forms/types/datetime.rst
+5Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.