Member Junction
    Preparing search index...

    Configuration object for the form toolbar. Controls which buttons/sections are visible and behavioral options.

    Pass to <mj-form-toolbar [config]="toolbarConfig"> to customize the toolbar. Use DEFAULT_TOOLBAR_CONFIG as a starting point and override specific properties.

    const myConfig: FormToolbarConfig = {
    ...DEFAULT_TOOLBAR_CONFIG,
    ShowDeleteButton: false, // Hide delete for this form
    ShowEntityHierarchy: true, // Show IS-A breadcrumb
    ShowFavoriteButton: false, // No favorites in this app
    };
    interface FormToolbarConfig {
        AdditionalActions: TemplateRef<unknown> | null;
        AllowSectionReorder: boolean;
        CustomButtons: CustomToolbarButton[];
        ShowChangesButton: boolean;
        ShowDeleteButton: boolean;
        ShowEditBanner: boolean;
        ShowEditButton: boolean;
        ShowEntityHierarchy: boolean;
        ShowExpandCollapseAllButtons: boolean;
        ShowFavoriteButton: boolean;
        ShowFormVariantPicker: boolean;
        ShowHistoryButton: boolean;
        ShowListButton: boolean;
        ShowSectionControls: boolean;
        ShowSectionFilter: boolean;
        ShowSectionManager: boolean;
        ShowTagsButton: boolean;
        ShowWidthToggle: boolean;
        StickyToolbar: boolean;
    }
    Index

    Properties

    AdditionalActions: TemplateRef<unknown> | null

    Optional template reference for additional toolbar actions. Rendered after the standard buttons via ng-content or TemplateRef.

    AllowSectionReorder: boolean

    Allow drag-and-drop section reordering. Default: true

    CustomButtons: CustomToolbarButton[]

    Custom toolbar buttons to display in the read-mode toolbar. Shown after the standard buttons (edit, delete, favorite, history, lists).

    ShowChangesButton: boolean

    Show the "Changes" button when record is dirty in edit mode. Default: true

    ShowDeleteButton: boolean

    Show the Delete button in read mode. Default: true

    ShowEditBanner: boolean

    Show the edit banner when entering edit mode. Default: true

    ShowEditButton: boolean

    Show the Edit button in read mode. Default: true

    ShowEntityHierarchy: boolean

    Show the IS-A entity hierarchy breadcrumb. Default: true

    ShowExpandCollapseAllButtons: boolean

    Show the Expand-All and Collapse-All chevron buttons. Only relevant for forms that render MJ collapsible panels — custom layouts that manage their own open/closed state should set this to false. Default: true

    ShowFavoriteButton: boolean

    Show the Favorite/Unfavorite button. Default: true

    ShowFormVariantPicker: boolean

    Show the form-variant picker button — a right-side toolbar button (form icon) that opens a dropdown of available EntityFormOverride variants (Default form + any active overrides) so the user can switch which form renders this entity record. Only actually renders when the host has supplied a Variants list with more than one item. Default: true.

    Set to false when the host doesn't want the user-facing form-switching UX (e.g. embedded record views with a single canonical form).

    ShowHistoryButton: boolean

    Show the Record History button (only if entity tracks changes). Default: true

    ShowListButton: boolean

    Show the Lists button for managing list membership. Default: true

    ShowSectionControls: boolean

    Master toggle for the entire right-hand section-controls group (search, expand-all, collapse-all, manage sections, width toggle). When false, the individual Show- and Allow- flags below are irrelevant. Default: true

    ShowSectionFilter: boolean

    Show the section search/filter input. Default: true

    ShowSectionManager: boolean

    Show the "Manage Sections" button (section manager drawer). Default: true

    ShowTagsButton: boolean

    Show the Tags button for viewing/managing tags on this record. Default: true

    ShowWidthToggle: boolean

    Show the width-mode toggle button (centered ⇄ full-width). Custom layouts with a fixed width should set this to false. Default: true

    StickyToolbar: boolean

    Whether the toolbar should be sticky at the top when scrolling. Default: true