Select field

A select field limits data to a specific set of options.

import alinea from 'alinea'

alinea.select('My select field', {
  a: 'Option a',
  b: 'Option b'
})