> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# InvalidValueResolution

> **InvalidValueResolution** = `object`

Defined in: packages/editor/src/types/editor.ts:118

The editor has invalid data in the value that can be resolved by the user

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Properties

### action

> **action**: `string`

Defined in: packages/editor/src/types/editor.ts:122

***

### autoResolve?

> `optional` **autoResolve**: `boolean`

Defined in: packages/editor/src/types/editor.ts:119

***

### description

> **description**: `string`

Defined in: packages/editor/src/types/editor.ts:121

***

### i18n

> **i18n**: `object`

Defined in: packages/editor/src/types/editor.ts:132

i18n keys for the description and action

These are in addition to the description and action properties, to decouple the editor from
the i18n system, and allow usage without it. The i18n keys take precedence over the
description and action properties, if i18n framework is available.

#### action

> **action**: `` `inputs.portable-text.invalid-value.${Lowercase<string>}.action` ``

#### description

> **description**: `` `inputs.portable-text.invalid-value.${Lowercase<string>}.description` ``

#### values?

> `optional` **values**: `Record`\<`string`, `string` \| `number` \| `string`[]\>

***

### item

> **item**: [`PortableTextBlock`](/api/editor/type-aliases/portabletextblock/)[] \| [`PortableTextBlock`](/api/editor/type-aliases/portabletextblock/) \| [`PortableTextChild`](/api/editor/type-aliases/portabletextchild/) \| `undefined`

Defined in: packages/editor/src/types/editor.ts:123

***

### patches

> **patches**: [`Patch`](/api/editor/type-aliases/patch/)[]

Defined in: packages/editor/src/types/editor.ts:120