Member Junction
    Preparing search index...

    Context object passed from the form to all child components (panels, fields). Eliminates the need for many individual

    properties.

    Property names use camelCase to maintain structural compatibility with BaseFormContext from @memberjunction/ng-base-forms. This allows BaseFormComponent.formContext to be passed directly to ng-forms components.

    interface FormContext {
        allowSectionReorder?: boolean;
        collapsibleSections?: boolean;
        enableRecordLinks?: boolean;
        hiddenSectionKeys?: string[];
        sectionFilter?: string;
        showEmptyFields?: boolean;
        showRelatedEntities?: boolean;
        showValidation?: boolean;
        validationErrors?: ValidationErrorInfo[];
        visibleSectionKeys?: string[];
    }
    Index

    Properties

    allowSectionReorder?: boolean

    Whether drag-and-drop section reordering is allowed. Read by panels to show/hide drag handles.

    collapsibleSections?: boolean

    Whether section headers may collapse/expand. When false, panels render always-expanded with no toggle chevron. Read by collapsible panels. Undefined / true means collapsible (the default).

    enableRecordLinks?: boolean

    Whether in-form record (FK) links are interactive. When false, FK values render as plain text instead of clickable links — used by dialog/slide-in surfaces so a modal context doesn't navigate the user away. Undefined / true means links are live (the default).

    hiddenSectionKeys?: string[]
    sectionFilter?: string

    Current search filter string for highlighting/filtering sections and fields

    showEmptyFields?: boolean

    Whether to show fields that have empty values in read-only mode

    showRelatedEntities?: boolean

    Section-visibility rules, propagated from EntityFormConfig. Read by every collapsible panel — including slot-injected BaseFormPanels — so per-instance show/hide applies uniformly across generated, custom, and injected sections. showRelatedEntities === false hides related-entity panels; hiddenSectionKeys / visibleSectionKeys (allow-list) target specific section keys.

    showValidation?: boolean

    When true, all fields show their validation errors regardless of touched state. Set to true after a failed save attempt; reset on successful save or cancel.

    validationErrors?: ValidationErrorInfo[]

    Validation errors from the most recent full-record Validate() call. Fields filter by ValidationErrorInfo.Source === FieldName to find their errors.

    visibleSectionKeys?: string[]