# FieldRenderProps (@salmonui/inputs/form)

> The FieldRenderProps interface of @salmonui/inputs/form: What a custom control receives from Field.

Canonical: https://salmonui.dev/docs/reference/inputs/form/FieldRenderProps

```ts
import type { FieldRenderProps } from '@salmonui/inputs/form';
```

Entry index: https://salmonui.dev/docs/reference/inputs/form (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/form.md).

## Reference

Kind: interface

```ts
interface FieldRenderProps {
    readonly inputProps: {
        readonly id: string;
        readonly name: string | undefined;
        readonly required: boolean | undefined;
        readonly disabled: boolean | undefined;
        readonly 'aria-describedby': string | undefined;
        readonly 'aria-invalid': true | undefined;
        readonly 'aria-errormessage': string | undefined;
        readonly ref: (el: HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | null) => void;
        readonly onBlur: () => void;
    };
    readonly errors: readonly string[];
    readonly invalid: boolean;
    readonly validating: boolean;
}
```

What a custom control receives from `Field`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `inputProps` | `readonly inputProps: {     readonly id: string;     readonly name: string \| undefined;     readonly required: boolean \| undefined;     readonly disabled: boolean \| undefined;     readonly 'aria-describedby': string \| undefined;     readonly 'aria-invalid': true \| undefined;     readonly 'aria-errormessage': string \| undefined;     readonly ref: (el: HTMLInputElement \| HTMLTextAreaElement \| HTMLSelectElement \| null) => void;     readonly onBlur: () => void; };` |  | Spread on the native element that carries the value: `id`, `name`, ARIA wiring, `ref`, `onBlur`. |
| `errors` | `readonly errors: readonly string[];` |  |  |
| `invalid` | `readonly invalid: boolean;` |  |  |
| `validating` | `readonly validating: boolean;` |  |  |
