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
23
23
``default_protocol ``
24
24
~~~~~~~~~~~~~~~~~~~~
25
25
26
- **type **: ``string `` **default **: ``http ``
26
+ **type **: ``string `` **default **: ``null ``
27
27
28
28
Set this value to ``null `` to render the field using a ``<input type="url"/> ``,
29
29
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://``,
36
36
``ftp:// ``, etc), this protocol will be prepended to the string when
37
37
the data is submitted to the form.
38
38
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
-
44
39
Overridden Options
45
40
------------------
46
41
You can’t perform that action at this time.
0 commit comments