-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
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
bug(layout): array of array is missing the 2nd sub element #47
Comments
Something is wrong with your schema.. |
But why the data I pass is marked valid? (An object containing an array of array of string.) |
as by my thoughts of this library ,, layout is used to adjust the positioning and somethings like that kindly i refer you to check its given examples. |
Removing the layout definition altogether displays the form as I think you expect it to be. |
This problem is being caused by a tandem of these two things inside of buildLayout:
and code piece 2:
Based on how this parses layouts, it goes bottom up. If you have a child array, it will create its layout first. Then when it gets to the parent array, it will use code piece 2 to add items to the parent array based on the child it already created. It only creates one version of the child, which is where code piece 1 comes in. If you create data that has two elements in the parent and the second parent item has elements in the child array, the child array of the first parent element will have the same number of items as the second element. (This is because it's replacing the dataPointer dashes with a 1 always and not 0 or a correct index). I am currently investigating a fix for this! Will respond back soon! |
Stale issue |
Another issue unresolved and closed by a bot .... @hamzahamidi Can you please reopen this issue? |
Describe the bug
which template:
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
as type.
Expected behavior
array1[0]
should display the 2nd elements (array12).Desktop (please complete the following information):
Log output covering before error and any error statements
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: