Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions reference/forms/types/url.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 ``<input type="url"/>``,
allowing the browser to perform local validation before submission.
Expand All @@ -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
------------------

Expand Down
Loading