summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst2
-rw-r--r--docs/source/user/settings.rst10
2 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index c01bd47..4f51190 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -20,6 +20,8 @@ Unreleased
first 12 entries (possibly according to a default sorting setting).
* New collection example: ticket_tracker.
* Add support for bash autocompletion via argcomplete, if installed.
+* Add support for the ``values`` property in the settings, to limit the
+ contents of a field.
Bugfixes
--------
diff --git a/docs/source/user/settings.rst b/docs/source/user/settings.rst
index e951621..565ae73 100644
--- a/docs/source/user/settings.rst
+++ b/docs/source/user/settings.rst
@@ -108,3 +108,13 @@ Some field types may add other custom properties.
Other clients may decide to use a different workflow.
+``values``
+----------
+
+The ``string``, ``text``, ``list`` and numeric types can have a property
+``value`` with a list of valid values for that field.
+
+An empty value is always allowed.
+
+For the ``list`` type, each element of the list is checked, not the
+whole list.