diff --git a/reference/forms/types/url.rst b/reference/forms/types/url.rst index 9c6dde6072e..bed1d208d6a 100644 --- a/reference/forms/types/url.rst +++ b/reference/forms/types/url.rst @@ -23,7 +23,7 @@ Field Options ``default_protocol`` ~~~~~~~~~~~~~~~~~~~~ -**type**: ``string`` **default**: ``http`` +**type**: ``string`` **default**: ``null`` Set this value to ``null`` to render the field using a ````, allowing the browser to perform local validation before submission. @@ -36,11 +36,6 @@ If a value is submitted that doesn't begin with some protocol (e.g. ``http://``, ``ftp://``, etc), this protocol will be prepended to the string when the data is submitted to the form. -.. deprecated:: 7.1 - - Not setting the ``default_protocol`` option is deprecated since Symfony 7.1 - and will default to ``null`` in Symfony 8.0. - Overridden Options ------------------