From c32745090e3c6ab4604f25e1e75c69c5f3fc4fae Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Mon, 23 Sep 2024 14:59:11 +0200
Subject: [PATCH] ENH: Add new Build variable for lazy-loading of dropdown
 options

---
 build.properties.d/00_default.properties | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.properties.d/00_default.properties b/build.properties.d/00_default.properties
index 17d3d2fd..6b15cbf2 100644
--- a/build.properties.d/00_default.properties
+++ b/build.properties.d/00_default.properties
@@ -158,6 +158,12 @@ BUILD_MODULE_EXT_TRIGGER_CRAWLER_FORM_TOOLBOX="Tools"
 ##############################################################################
 BUILD_MAX_EDIT_MODE_DROPDOWN_OPTIONS=-1
 
+##############################################################################
+# Toggle lazy-loading of reference dropdowns. ENABLED is especially
+# recommended in case of instances with a lot of entities.
+##############################################################################
+BUILD_EDIT_MODE_LAZY_DROPDOWN_LOADING=ENABLED
+
 ##############################################################################
 # Build a dist file containing all JS code from the files in the
 # MODULE_DEPENDENCIES array.
-- 
GitLab