An object field groups multiple fields together. The fields are defined using the type function.
import {Config, Field} from 'alinea'
Field.object('Address', {
fields: {
street: Field.text('Street'),
zip: Field.text('Zip code', {width: 0.5}),
city: Field.text('City', {width: 0.5})
})
})