form-graph
    Preparing search index...

    Interface ControllerRenderProps<Value, Meta, In>

    interface ControllerRenderProps<Value, Meta, In = Value> {
        error: FieldError | undefined;
        fieldProps: { "data-fg-field": string };
        isComputed: boolean;
        meta: Meta;
        note: ResolutionNote | undefined;
        onChange: (next: Value | In) => void;
        value: Value;
    }

    Type Parameters

    Index
    error: FieldError | undefined
    fieldProps: { "data-fg-field": string }

    Spread onto the focusable element to opt into focusFirstError — explicit, since not every render prop targets an element.

    isComputed: boolean
    meta: Meta
    note: ResolutionNote | undefined

    Set when correct replaced this value this pass — render "we adjusted this" inline.

    onChange: (next: Value | In) => void

    Writes intent. Accepts the parsed Value OR whatever the field's input schema declares it accepts (In — a picker's partial resource, a bare { id }), which the schema normalizes on the next resolve.

    value: Value