Skip to content

API > ChoiceFieldType

Type alias: ChoiceFieldType ​

ChoiceFieldType: BaseField & { choices: [any, string][]; default: string | number | (string | number)[]; display: "radio" | "select" | "checkbox"; multiple: boolean; placeholder: string; reorderingEnabled: boolean; type: "choice"; }

ChoiceFieldType.choices ​

choices: [any, string][]

ChoiceFieldType.default ​

default?: string | number | (string | number)[]

ChoiceFieldType.display ​

display?: "radio" | "select" | "checkbox"

ChoiceFieldType.multiple ​

multiple?: boolean

ChoiceFieldType.placeholder ​

placeholder?: string

ChoiceFieldType.reorderingEnabled ​

reorderingEnabled?: boolean

ChoiceFieldType.type ​

type: "choice"

Source ​

fieldTypes.ts:131