# AdaptableFormFieldRenderParams

Canonical page: https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams

Parameters provided to  when rendering
a `custom` field type.

```ts title="TypeScript"
export interface AdaptableFormFieldRenderParams 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [context](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#context) | [`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md) | Adaptable context (carries `adaptableApi`, etc.). When the form is<br/>hosted by a Custom Toolbar this is in fact a<br/>`CustomToolbarFormContext`. |
| [disabled](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#disabled) | `boolean` | Resolved disabled state of the field (after evaluating `field.disabled`<br/>if it&#39;s a function). |
| [error](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#error) | `string` | Current validation error for this field, if any. |
| [field](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#field) | [`AdaptableFormField`](https://www.adaptabletools.com/docs/reference/adaptableformfield.md) | The field definition itself - useful when sharing one render function<br/>across several `custom` fields. |
| [formData](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#formdata) | [`AdaptableFormData`](https://www.adaptabletools.com/docs/reference/adaptableformdata.md) | The current values of all fields in the form, keyed by field `name`. |
| [setValue](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#setvalue) | `(newValue: any) => void` | Setter to update the field&#39;s value. Triggers form-level `onChange`,<br/>per-field `onValueChange` and re-validation. |
| [value](https://www.adaptabletools.com/docs/reference/adaptableformfieldrenderparams.md#value) | `any` | The field&#39;s current value |

## Property Details

### context

Adaptable context (carries `adaptableApi`, etc.). When the form is
hosted by a Custom Toolbar this is in fact a
`CustomToolbarFormContext`.

```ts title="TypeScript"
context: BaseContext;
```

###### Property Value

[`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md)

### disabled

Resolved disabled state of the field (after evaluating `field.disabled`
if it&#39;s a function).

```ts title="TypeScript"
disabled: boolean;
```

###### Property Value

`boolean`

### error

Current validation error for this field, if any.

```ts title="TypeScript"
error?: string;
```

###### Property Value

`string`

### field

The field definition itself - useful when sharing one render function
across several `custom` fields.

```ts title="TypeScript"
field: AdaptableFormField;
```

###### Property Value

[`AdaptableFormField`](https://www.adaptabletools.com/docs/reference/adaptableformfield.md)

### formData

The current values of all fields in the form, keyed by field `name`.

```ts title="TypeScript"
formData: AdaptableFormData;
```

###### Property Value

[`AdaptableFormData`](https://www.adaptabletools.com/docs/reference/adaptableformdata.md)

### setValue

Setter to update the field&#39;s value. Triggers form-level `onChange`,
per-field `onValueChange` and re-validation.

```ts title="TypeScript"
setValue: (newValue: any) => void;
```

###### Property Value

`(newValue: any) => void`

### value

The field&#39;s current value

```ts title="TypeScript"
value: any;
```

###### Property Value

`any`
