Skip to content

Commit f4597bf

Browse files
committed
format option deprecation for HTML 5 widgets
1 parent 927dee1 commit f4597bf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

reference/forms/types/date.rst

+5
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ values for the year, month and day fields::
165165

166166
.. include:: /reference/forms/types/options/date_format.rst.inc
167167

168+
.. versionadded:: 4.3
169+
170+
Using the ``format`` option when the ``html5`` option is enabled is deprecated
171+
since Symfony 4.3.
172+
168173
.. include:: /reference/forms/types/options/html5.rst.inc
169174

170175
.. _form-reference-date-input:

reference/forms/types/datetime.rst

+5
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will
133133
cause the field to be rendered as an ``input`` field with ``type="datetime-local"``.
134134
For more information on valid formats, see `Date/Time Format Syntax`_.
135135

136+
.. versionadded:: 4.3
137+
138+
Using the ``format`` option when the ``html5`` option is enabled is deprecated
139+
since Symfony 4.3.
140+
136141
.. include:: /reference/forms/types/options/hours.rst.inc
137142

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

0 commit comments

Comments
 (0)