# InlineEditInputProps (@salmonui/editors/inline-edit)

> The InlineEditInputProps interface of @salmonui/editors/inline-edit: Props for the edit element: spread them on an input or pass them to a Salmon field.

Canonical: https://salmonui.dev/docs/reference/editors/inline-edit/InlineEditInputProps

```ts
import type { InlineEditInputProps } from '@salmonui/editors/inline-edit';
```

Entry index: https://salmonui.dev/docs/reference/editors/inline-edit (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/inline-edit.md).

## Reference

Kind: interface

```ts
interface InlineEditInputProps {
    readonly id: string;
    readonly value: string;
    readonly onChange: (event: {
        readonly target: {
            readonly value: string;
        };
    }) => void;
    readonly onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
    readonly 'aria-invalid': true | undefined;
    readonly 'aria-describedby': string | undefined;
    readonly 'aria-label': string | undefined;
    readonly readOnly: boolean;
    readonly autoFocus: true;
}
```

Props for the edit element: spread them on an input or pass them to a Salmon field.

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `value` | `readonly value: string;` |  |  |
| `onChange` | `readonly onChange: (event: {     readonly target: {         readonly value: string;     }; }) => void;` |  |  |
| `onKeyDown` | `readonly onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;` |  |  |
| `aria-invalid` | `readonly 'aria-invalid': true \| undefined;` |  |  |
| `aria-describedby` | `readonly 'aria-describedby': string \| undefined;` |  |  |
| `aria-label` | `readonly 'aria-label': string \| undefined;` |  |  |
| `readOnly` | `readonly readOnly: boolean;` |  |  |
| `autoFocus` | `readonly autoFocus: true;` |  |  |
