Member Junction
    Preparing search index...

    Complete form state for an entity, persisted to User Settings

    interface FormState {
        sectionOrder?: string[];
        sections: Record<string, FormSectionState>;
        showEmptyFields: boolean;
        widthMode: "centered" | "full-width";
        widthModeExplicit?: boolean;
    }
    Index

    Properties

    sectionOrder?: string[]

    Custom section ordering - array of sectionKeys in user's preferred order

    sections: Record<string, FormSectionState>

    Per-section state, keyed by sectionKey

    showEmptyFields: boolean

    Whether to show fields with empty values

    widthMode: "centered" | "full-width"

    Form width mode - 'centered' uses max-width constraint, 'full-width' uses all available space

    widthModeExplicit?: boolean

    Whether widthMode reflects an explicit user choice (via the toolbar width-toggle button) vs. a default carried along in the serialized blob. Only true when setWidthMode has been called. Callers that want to honor a component-level default should check this flag before using widthMode — see BaseFormComponent.getFormWidthMode.

    Optional because pre-existing persisted blobs predate this flag; they are treated as non-explicit so custom forms with their own defaults can take precedence on upgrade.