Skip to content

Commit 0b521e7

Browse files
alexislefebvrejaviereguiluz
authored andcommitted
URLType: explain null value for default_protocol
1 parent cd8a822 commit 0b521e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/forms/types/url.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Field Options
2727

2828
**type**: ``string`` **default**: ``http``
2929

30+
Set the value as ``null`` to render the field as ``<input type="url"/>``.
31+
3032
If a value is submitted that doesn't begin with some protocol (e.g. ``http://``,
3133
``ftp://``, etc), this protocol will be prepended to the string when
3234
the data is submitted to the form.

0 commit comments

Comments
 (0)