From 4366858fe0c839cfcebccba5e8fb4f180267d199 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Wed, 11 Oct 2023 10:59:26 +0200
Subject: [PATCH] DOC: add config doc

---
 src/doc/extension/edit_mode.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/doc/extension/edit_mode.md

diff --git a/src/doc/extension/edit_mode.md b/src/doc/extension/edit_mode.md
new file mode 100644
index 00000000..b03657ee
--- /dev/null
+++ b/src/doc/extension/edit_mode.md
@@ -0,0 +1,15 @@
+
+Customizing the Edit Mode
+=========================
+
+
+Customizing the number of candidates retrieved for references in the Edit Mode
+------------------------------------------------------------------------------
+
+To prevent the retrieval of huge numbers of entities just to create candidates
+for the drop down of a reference during editing of an Entity, the number of
+candidates can be limited.
+
+Set the ``BUILD_MAX_EDIT_MODE_DROPDOWN_OPTIONS`` build variable. -1 means no
+limit; every other number is the limit for each query sent (The number of
+candidates can be at most twice this number).
-- 
GitLab