We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877ec46 commit a798057Copy full SHA for a798057
reference/forms/types/url.rst
@@ -27,7 +27,12 @@ Field Options
27
28
**type**: ``string`` **default**: ``http``
29
30
-Set the value as ``null`` to render the field as ``<input type="url"/>``.
+Set this value to ``null`` to render the field using a ``<input type="url"/>``,
31
+allowing the browser to perform local validation before submission.
32
+
33
+When this value is neither ``null`` nor an empty string, the form field is
34
+rendered using a ``<input type="text"/>``. This ensures users can submit the
35
+form field without specifying the protocol.
36
37
If a value is submitted that doesn't begin with some protocol (e.g. ``http://``,
38
``ftp://``, etc), this protocol will be prepended to the string when
0 commit comments