Member Junction
    Preparing search index...

    Interface IEntityFormConfiguration

    Generated-form chrome for this entity (L2 defaults).

    Consumed by <mj-record-form-container>. L1 inclusion and L3 MJ: Form Chrome Rules decide membership; this bag only ranks Auto leftovers and chooses accordion vs left-nav.

    interface IEntityFormConfiguration {
        AutoLeftNavAt?: number;
        Layout?: "accordion" | "left-nav" | "auto";
        PrimaryRelatedBudget?: number;
        RelatedRolePolicy?: "keep-all-primary" | "smart";
    }
    Index

    Properties

    AutoLeftNavAt?: number

    Section-count threshold used when Layout is 'auto' (or omitted). Defaults to 8. Ignored for an explicit 'accordion' or 'left-nav'.

    Layout?: "accordion" | "left-nav" | "auto"

    Layout chrome for the generated form.

    • 'accordion' — every first-class section is a collapsible panel.
    • 'left-nav' — a left rail of section groups; the body shows one group.
    • 'auto' — accordion until the first-class section count reaches AutoLeftNavAt, then left-nav.

    Omit to treat as 'auto'.

    PrimaryRelatedBudget?: number

    Max Auto related grids that stay first-class when RelatedRolePolicy is 'smart'. Default 6. Explicit inclusion: 'Primary' is never capped by this number.

    RelatedRolePolicy?: "keep-all-primary" | "smart"

    How Auto (omitted inclusion) relationships are resolved.

    • 'keep-all-primary' — every remaining Auto related stays first-class.
    • 'smart' — budgeted ranker: same-schema 1:N / collections / custom display components stay top-level; cross-schema hang-ons and platform plumbing fold into More once the Auto pool exceeds PrimaryRelatedBudget.

    Omit to treat as 'smart'.