8000 minor #10986 format option deprecation for HTML 5 widgets (xabbuh) · symfony/symfony-docs@799b998 · GitHub
[go: up one dir, main page]

Skip to content

Commit 799b998

Browse files
committed
< 8000 span class="ws-pre-wrap f5 wb-break-word text-mono prc-Text-Text-0ima0">
minor #10986 format option deprecation for HTML 5 widgets (xabbuh)
This PR was merged into the master branch. Discussion ---------- format option deprecation for HTML 5 widgets document the deprecations that will be introduced with symfony/symfony#28723 Commits ------- f4597bf format option deprecation for HTML 5 widgets
2 parents d80903e + f4597bf commit 799b998

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

reference/forms/types/date.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ values for the year, month and day fields::
170170

171171
.. include:: /reference/forms/types/options/date_format.rst.inc
172172

173+
.. versionadded:: 4.3
174+
175+
Using the ``format`` option when the ``html5`` option is enabled is deprecated
176+
since Symfony 4.3.
177+
173178
.. include:: /reference/forms/types/options/html5.rst.inc
174179

175180
.. _form-reference-date-input:

reference/forms/types/datetime.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will
138138
cause the field to be rendered as an ``input`` field with ``type="datetime-local"``.
139139
For more information on valid formats, see `Date/Time Format Syntax`_.
140140

141+
.. versionadded:: 4.3
142+
143+
Using the ``format`` option when the ``html5`` option is enabled is deprecated
144+
since Symfony 4.3.
145+
141146
.. include:: /reference/forms/types/options/hours.rst.inc
142147

143148
.. include:: /reference/forms/types/options/html5.rst.inc

0 commit comments

Comments
 (0)
0