Member Junction
    Preparing search index...

    Per (host-entity, FK-column) user overrides for the foreign-key search dropdown rendered by MjFormFieldComponent. Every field is optional — an entry exists only for the specific dropdowns a user has actively customized. Most users never customize anything, so the stored blob stays tiny (often empty).

    interface LinkedFieldOption {
        colWidths?: Record<string, number>;
        recentPicks?: string[];
        searchField?: string;
        sortDir?: "desc" | "asc";
        sortField?: string | null;
        visibleFields?: string[];
    }
    Index

    Properties

    colWidths?: Record<string, number>

    User-resized column widths in pixels, keyed by related-entity field code name (the Name column uses its own field code name as the key). Columns the user never resized are absent and fall back to content-based sizing.

    recentPicks?: string[]

    Primary keys the user most recently picked in THIS dropdown, newest first. Read into a "Recent" group when the dropdown opens with nothing typed, so the parties someone works with every day are one click away instead of buried in the directory.

    Deliberately not MJ: User Record Logs, which records the records a user opened — a different question from which value they last chose for this particular field.

    searchField?: string

    Related-entity field code name to search against. When unset, the dropdown searches the related entity's Name field (the default).

    sortDir?: "desc" | "asc"

    Sort direction; only meaningful when sortField is set.

    sortField?: string | null

    Related-entity field code name to sort the dropdown by. null (or unset) means natural order (whatever order the cache / DB returned).

    visibleFields?: string[]

    Ordered list of extra-column field code names to display (besides the always-shown Name column). When set, fully overrides the default DefaultInView-derived columns — letting the user add normally-hidden fields (e.g. ID) or remove default ones. undefined = use the default column set. An empty array = only the Name column.