{
module: Neo.form.Container,
cls : [
'fragment-form'
],
layout: 'base',
width : 460,
items : [
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Name',
name : 'name',
value : 'Ana Silva'
},
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Email',
name : 'email',
value : 'ana@example.com'
},
{
module : Neo.container.Fragment,
reference: 'address',
items : [
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Street',
name : 'street',
value : 'Rua das Flores 12'
},
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'City',
name : 'city',
value : 'Porto'
},
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Postcode',
name : 'postcode',
value : '4050-262'
},
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Country',
name : 'country',
value : 'Portugal'
}
]
},
{
module : Neo.form.field.Text,
labelPosition: 'top',
labelText : 'Phone',
name : 'phone',
value : '+351 912 345 678'
}
]
}