diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index 0b240504c17..7031b6211dd 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -165,6 +165,11 @@ values for the year, month and day fields:: .. include:: /reference/forms/types/options/date_format.rst.inc +.. versionadded:: 4.3 + + Using the ``format`` option when the ``html5`` option is enabled is deprecated + since Symfony 4.3. + .. include:: /reference/forms/types/options/html5.rst.inc .. _form-reference-date-input: diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 5b9295c5885..ce756d19d40 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -133,6 +133,11 @@ used by the HTML5 ``datetime-local`` field. Keeping the default value will cause the field to be rendered as an ``input`` field with ``type="datetime-local"``. For more information on valid formats, see `Date/Time Format Syntax`_. +.. versionadded:: 4.3 + + Using the ``format`` option when the ``html5`` option is enabled is deprecated + since Symfony 4.3. + .. include:: /reference/forms/types/options/hours.rst.inc .. include:: /reference/forms/types/options/html5.rst.inc
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: