Member Junction
    Preparing search index...

    <mj-form-field-panel-slot> — mounts the contributions drawn inside a section.

    Two kinds: a contribution that stands in for some of the section's fields, and one placed in the section by its key without replacing anything. Either belongs inside the section, so it reads as part of it rather than as a separate card elsewhere on the form. <mj-collapsible-panel> renders two of these, one above its projected content and one below, and each mounts the contributions whose sectionPosition matches it. A claimed field stops drawing, which FormContext.claimedFieldNames handles.

    Distinct from <mj-form-panel-slot>, which selects by slot position. This one selects by field, and its position is wherever the section is — there is no slot involved and no fallback chain, because a claim on a field the form does not draw is simply not matched by any section.

    Implements

    • OnInit
    • OnChanges
    • OnDestroy
    Index

    Constructors

    Properties

    Entity: string

    The entity name being edited.

    FieldNames: readonly string[] = []

    The fields this section draws — the set a contribution may claim from.

    FormComponent: BaseFormComponent

    The host form component.

    FormContext?: FormContext

    Optional form context.

    Position: "end" | "start" = 'start'

    Which end of the section this host draws at.

    Record: BaseEntity

    The record being edited, threaded through to every mounted panel.

    SectionKey: string = ''

    The section's key, which a contribution placed in the section names.

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns void

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void