Select field

The person's role at the company

The select field displays a select input for single option selection.

It needs an array of options, as well as a defaultValue matching one of the options.

Example usage

  label: 'Role',
  description: "The person's role at the company",
  options: [
    { label: 'Designer', value: 'designer' },
    { label: 'Developer', value: 'developer' },
    { label: 'Product manager', value: 'product-manager' },
  defaultValue: 'designer'

Type signature

Find the latest version of this field's type signature at: