8000 format option deprecation for HTML 5 widgets · symfony/symfony-docs@ee2154f · GitHub
[go: up one dir, main page]

Skip to content
Sign in

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 ee2154f

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

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+
.. caution::
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:
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+
.. caution::
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