--- last_review: "2025-01-01" last_reviewer: "-" documented_code: [ ] --- ```{tags} how-to ``` # Customizing the Edit Mode :::{note} This page has been migrated from the old documentation, and has not yet been fully revised. There might be inconsistencies or errors when using with current LinkAhead versions. ::: % TODO: Issue: https://gitlab.indiscale.com/caosdb/src/linkahead-docs/-/issues/94 % TODO: Stub ## 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).