summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/javascript_reference.rst')
-rw-r--r--doc/reference/javascript_reference.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst
index f0db5cd40b2..8b3df82c85e 100644
--- a/doc/reference/javascript_reference.rst
+++ b/doc/reference/javascript_reference.rst
@@ -1733,8 +1733,6 @@ order.
This field displays an url (in readonly mode). The main reason to use it is
that it is rendered as an anchor tag with the proper css classes and href.
- - Supported field types: *char*
-
Also, the text of the anchor tag can be customized with the *text* attribute
(it won't change the href value).
@@ -1742,6 +1740,13 @@ order.
<field name="foo" widget="url" text="Some URL"/>
+ Options:
+
+ - website_path: (default:false) by default, the widget forces (if not already
+ the case) the href value to begin with http:// except if this option is set
+ to true, thus allowing redirections to the database's own website.
+
+ - Supported field types: *char*
- domain (FieldDomain)
The "Domain" field allows the user to construct a technical-prefix domain