Skip to content
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

Json schema nested array properties incorectly mapped. #1923

Closed
Adam-Michalski opened this issue Nov 13, 2019 · 1 comment · Fixed by #1924
Closed

Json schema nested array properties incorectly mapped. #1923

Adam-Michalski opened this issue Nov 13, 2019 · 1 comment · Fixed by #1924
Labels

Comments

@Adam-Michalski
Copy link

Description
Json schema nested array properties incorectly mapped in array on second level (don't know what happens deeper).
At first level in root array we can see that hidden property is correctly mapped and age is not displayed for two of three elements but on the second array with hidden property specified exacly the same like in root array age is displayed.

You can observe that mapFn param mapSource passed to map for every field is passed (as it seams) as first element from second level array properties.

Minimal Reproduction
https://stackblitz.com/edit/angular-ngx-formly-array-type-with-different-item-properties

@aitboudad
Copy link
Member

This issue has been fixed and released as part of v5.5.5.

Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants