We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
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', }, ];
The text was updated successfully, but these errors were encountered:
Can you tell me which version you're using, if on latest then can try with 1.0.15.
1.0.15
Sorry, something went wrong.
I was using version 1.0.16. I also tried with 1.0.15 but i get the same error.
Multilevel nesting is not supported by this library, you can try react-reactive-form to achieve it.
No branches or pull requests
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:
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', }, ];
The text was updated successfully, but these errors were encountered: