# ValidationErrors (@salmonui/inputs/form)

> The ValidationErrors type of @salmonui/inputs/form: Server errors keyed by field name.

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

```ts
import type { ValidationErrors } 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: type

```ts
type ValidationErrors = Readonly<Record<string, string | readonly string[] | undefined>>;
```

Server errors keyed by field `name`.
