[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / customField

# Function: customField()

> **customField**(`key`): [`Field`](../classes/Field)

Defined in: [admin/src/form/Field.ts:877](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/form/Field.ts#L877)

A control you render yourself, when nothing in the catalogue fits — a map
picker, a colour-ramp editor, a signature pad.

  customField("coordinates").render((value) => <MapPicker value={value} />)

The renderer owns the control; the field still owns the label, helper text,
validation rules and the `form.<key>` binding, so a custom control saves and
validates like any other. Bind your markup to `form.<key>` for the value to
round-trip.

## Parameters

### key

`string`

## Returns

[`Field`](../classes/Field)
