Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 950b472

Browse files
committed
[Form] Deprecate not setting a value for widget option of date/time types
1 parent 73ca662 commit 950b472

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/forms/types/options/date_widget_description.rst.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ following:
1010

1111
* ``single_text``: renders a single input of type ``date``. User's input
1212
is validated based on the `format`_ option.
13+
14+
.. deprecated:: 6.3
15+
16+
Not setting a value explicitly for this option is deprecated since Symfony 6.3
17+
because the default value will change to ``single_text`` in Symfony 7.0.

0 commit comments

Comments
 (0)