Formwright
    Preparing search index...

    Interface FieldLayoutParts

    The parts of a field, already wired: each owns its ids, aria-* and data-test-fw-* attributes. A layout places them, and can add attributes (a class) to all but Control.

    interface FieldLayoutParts {
        Control: ComponentLike<
            {
                Blocks: {
                    default: [
                        FieldBlockParams<
                            unknown,
                            BoundControl<ControlSignature<any, any, HTMLElement>>,
                        >,
                    ];
                };
            },
        >;
        Errors: ComponentLike<{ Element: HTMLDivElement }>;
        Group: ComponentLike<
            { Blocks: { default: [] }; Element: HTMLFieldSetElement },
        >;
        Hint: ComponentLike<{ Element: HTMLParagraphElement }>;
        Label: ComponentLike<{ Element: HTMLLabelElement | HTMLLegendElement }>;
    }
    Index
    Control: ComponentLike<
        {
            Blocks: {
                default: [
                    FieldBlockParams<
                        unknown,
                        BoundControl<ControlSignature<any, any, HTMLElement>>,
                    >,
                ];
            };
        },
    >

    Everything about the control: the inline value, the callout, the control, ✓ and ✕. Render it as <@parts.Control as |control|>{{yield control}}</@parts.Control>, which passes a field's block on to it.

    Errors: ComponentLike<{ Element: HTMLDivElement }>

    The aria-live error region, with its own id. Always rendered.

    Group: ComponentLike<{ Blocks: { default: [] }; Element: HTMLFieldSetElement }>

    A group control's <fieldset>, whose first child must be the Label; otherwise nothing.

    Hint: ComponentLike<{ Element: HTMLParagraphElement }>

    The hint, with the id the control's aria-describedby points at. Nothing without @hint.

    Label: ComponentLike<{ Element: HTMLLabelElement | HTMLLegendElement }>

    <label for>, or the <legend> of a group. Nothing without @label.