Inline fields
Props
Name | Type | Default | Description |
---|---|---|---|
inlineFileds | TFormField[] | - | 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',
},
},
],
},