Skip to content

How to add multiple level nesting #29

@Ivona221

Description

@Ivona221

I am trying to do a multiple level nesting meaning i want to add a group element inside another group element. However i get the following error:
screenshot_5

The thing i am trying to do is :

const fields = [ { type: 'group', name: 'address', label: 'Address', fields: [ { type: 'group', name: 'Address2', label: 'Address2', fields:[ { type: 'text', name: 'Name', label: 'Name', }, ] }, { type: 'picker', name: 'country', label: 'Country', defaultValue: 'INDIA', options: ['US', 'INDIA', 'UK', 'CHINA', 'FRANCE'], }, ], }, { type: 'text', name: 'user_name', required: true, icon: 'ios-person', label: 'Username', }, ];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions