Skip to content

ChoiceField

  • FieldBase

choiceType: ChoiceType


fieldType: "Choice"


label: string

FieldBase.label


optional maxResults?: number

Lookup only: the most options one search shows. Absent means 8.


optional minQueryLength?: number

Lookup only: how many characters to type before searching. Absent means 2.


name: string


nodeType: "Field"

FieldBase.nodeType


options: ChoiceOption[]

Always a plain array — the server resolves data-set- and plugin-backed options before sending. Empty for a Lookup, whose options are searched instead.


required: boolean


optional submissionKey?: string

The key this field’s answer is submitted under. Absent on buttons, which carry no value.

Deliberately not the same as name: a field placed by reference to a shared Field is keyed by that Field’s external id instead. Always submit under this value — deriving a key any other way silently breaks plugin field mapping on the server.

FieldBase.submissionKey