From 0b521e7dcd51f9a204a6cc26f42e1ad44b758732 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Fri, 29 Nov 2024 16:09:49 +0100 Subject: [PATCH] URLType: explain `null` value for `default_protocol` --- reference/forms/types/url.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/forms/types/url.rst b/reference/forms/types/url.rst index 5f97fcb89a4..a13f6e4567d 100644 --- a/reference/forms/types/url.rst +++ b/reference/forms/types/url.rst @@ -27,6 +27,8 @@ Field Options **type**: ``string`` **default**: ``http`` +Set the value as ``null`` to render the field as ````. + 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.