middag-react
    Preparing search index...

    Interface FieldComponentProps

    Props that every registered field component receives.

    Field-specific props (documentType, currency, etc.) are passed via the fieldProps bag — each component extracts what it needs.

    interface FieldComponentProps {
        disabled?: boolean;
        error?: string;
        errorId: string;
        fieldProps: Record<string, unknown>;
        helpTextId: string;
        id: string;
        onChange: (value: unknown) => void;
        required?: boolean;
        value: unknown;
    }
    Index
    disabled?: boolean
    error?: string
    errorId: string
    fieldProps: Record<string, unknown>

    Full field props bag — field components extract type-specific props.

    helpTextId: string
    id: string
    onChange: (value: unknown) => void
    required?: boolean
    value: unknown