Skip to main content

Inline fields

Props

NameTypeDefaultDescription
inlineFiledsTFormField[]-Array of fields you want to add in one line

Config example

{
type: 'inline-fields',
inlineFields: [
{
type: 'input',
data: {
id: 'city',
name: 'city',
label: 'City *',
type: 'text',
},
},
{
type: 'input',
data: {
id: 'stateOrProvince',
name: 'stateOrProvince',
label: 'State/province *',
type: 'text',
},
},
],
},