Member Junction
    Preparing search index...

    Per-instance configuration for an MemberJunction entity form, independent of how it is presented (full-page tab, modal dialog, or slide-in panel).

    Set on BaseFormComponent.Config. The record-form container and the collapsible panels read it back through the FormComponent reference, so it takes effect without regenerating the CodeGen-produced form template.

    Every field is optional; an omitted field falls back to the value the host surface seeds (see TAB_FORM_CONFIG, DIALOG_FORM_CONFIG, SLIDEIN_FORM_CONFIG).

    This interface is intentionally additive — new optional knobs can be added over time without breaking existing consumers or presets.

    host.Config = {
    ...DIALOG_FORM_CONFIG,
    ShowRelatedEntities: false,
    CollapsibleSections: false,
    Toolbar: { ShowDeleteButton: false },
    };
    interface EntityFormConfig {
        CollapsibleSections?: boolean;
        EnableRecordLinks?: boolean;
        HiddenSectionKeys?: string[];
        ShowRelatedEntities?: boolean;
        StartInEditMode?: boolean;
        Toolbar?: Partial<FormToolbarConfig> | null;
        VisibleSectionKeys?: string[];
        WidthMode?: FormWidthMode;
    }
    Index

    Properties

    CollapsibleSections?: boolean

    Whether section headers can collapse/expand. When false, every section renders always-expanded with no toggle chevron. Default: true.

    EnableRecordLinks?: boolean

    Whether in-form record links emit Navigate events. The form host NEVER routes; it only emits, and the consumer decides what to do. Default: true on tabs, false in dialog/slide-in (links render inert so a modal context doesn't teleport the user away).

    HiddenSectionKeys?: string[]

    Hide specific sections by their sectionKey (field OR related-entity). Mutually exclusive with VisibleSectionKeys; if both are set, VisibleSectionKeys wins.

    ShowRelatedEntities?: boolean

    Whether related-entity grid sections (panels with Variant="related-entity") are shown. Default: true on tabs, false in dialog/slide-in.

    StartInEditMode?: boolean

    Force the form to start in edit mode. When omitted, the host starts new records in edit mode and existing records in read mode.

    Toolbar?: Partial<FormToolbarConfig> | null

    Toolbar configuration.

    • undefined → use the surface default (full toolbar on tabs).
    • null → render no toolbar at all (default for dialog & slide-in, where the chrome owns the title and Save/Cancel buttons).
    • Partial<FormToolbarConfig> → merged over the surface default config.
    VisibleSectionKeys?: string[]

    Allow-list of sectionKeys to render — every other section is hidden. Mutually exclusive with HiddenSectionKeys.

    WidthMode?: FormWidthMode

    Initial width mode for the form body. Default: 'centered' on tabs, 'full-width' in a slide-in.