Skip to content

Commit 4bf5dc2

Browse files
committed
minor #18511 [Form]  Deprecate not setting a value for widget option of date/time types (javiereguiluz)
This PR was merged into the 6.3 branch. Discussion ---------- [Form]  Deprecate not setting a value for widget option of date/time types Related to #18507. Commits ------- 950b472 [Form] Deprecate not setting a value for widget option of date/time types
2 parents a47bb9d + 950b472 commit 4bf5dc2

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)