Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / customField

Function: customField()

customField(key): Field

Defined in: admin/src/form/Field.ts:877

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) => )

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