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

> The InlineEditValidator type of @salmonui/editors/inline-edit: Custom validator of validation.validate: an error message, or null / undefined / true when valid (false uses the default message). May be async.

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

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

```ts
type InlineEditValidator<T> = (value: T) => string | boolean | null | undefined | PromiseLike<string | boolean | null | undefined>;
```

Custom validator of `validation.validate`: an error message, or null / undefined / true when valid (false uses the default message). May be async.
