File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Field Options
2323``default_protocol ``
2424~~~~~~~~~~~~~~~~~~~~
2525
26- **type **: ``string `` **default **: ``http ``
26+ **type **: ``string `` **default **: ``null ``
2727
2828Set this value to ``null `` to render the field using a ``<input type="url"/> ``,
2929allowing 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://``,
3636``ftp:// ``, etc), this protocol will be prepended to the string when
3737the data is submitted to the form.
3838
39- .. deprecated :: 7.1
40-
41- Not setting the ``default_protocol `` option is deprecated since Symfony 7.1
42- and will default to ``null `` in Symfony 8.0.
43-
4439Overridden Options
4540------------------
4641
You can’t perform that action at this time.
0 commit comments