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

Proposed fix for issue 590 #672

Merged
merged 1 commit into from
May 2, 2016

Conversation

elbunuelo
Copy link
Contributor

@elbunuelo elbunuelo commented Apr 26, 2016

Description

Fixes issue 590, which describes a bug that appears when you're using nested arrays.
The described bug causes element values in the second nesting level to appear as [Object object].

Fixes Related issues

json-schema-form/angular-schema-form-bootstrap#9

Checklist

  • I have read and understand the CONTRIBUTIONS.md file
  • I have searched for and linked related issues
  • I have created test cases to ensure quick resolution of the PR is easier
  • I am NOT targeting main branch
  • I did NOT include the dist folder in my PR

@json-schema-form/angular-schema-form-lead

Reset keyRedaction variable so that the parent's keyRedaction will not be carried onto its children which used to cause the key to be an empty array inside the ngModel builder.

Reset keyRedaction variable so that the parent's keyRedaction will not be carried onto its children which used to cause the key to be an empty array inside the ngModel builder.
@joelwkent
Copy link
Member

Thanks @elbunuelo, I have a test in PR 652 that currently fails due to this issue (#590). So this PR should make my test pass!

@elbunuelo
Copy link
Contributor Author

@joelwkent I'm glad to read it! Now I just have to work out why aren't the tests passing

@Anthropic
Copy link
Member

@elbunuelo there are some tests failing because of styles not being set, I think David said those tests should be moved to the decorators instead anyway, but I havent had a chance to fix it yet. Nice PR, glad to see the template properly filled in, I will fix it's styling today, nice PR :)

@Anthropic
Copy link
Member

@joelwkent did you get a chance to see if this resolved your test issue?

@joelwkent
Copy link
Member

Yes, happy to confirm this PR fixes the issue in the test I have added in the arrayIndices PR.

@Anthropic Anthropic merged commit 8b6b008 into json-schema-form:development May 2, 2016
Anthropic added a commit that referenced this pull request May 8, 2016
pgrm added a commit to hetras/angular-schema-form that referenced this pull request Jan 10, 2017
ymarcon pushed a commit to obiba/angular-schema-form that referenced this pull request Nov 13, 2022
ymarcon added a commit to obiba/angular-schema-form that referenced this pull request Nov 13, 2022
ymarcon pushed a commit to obiba/angular-schema-form that referenced this pull request Nov 14, 2022
ymarcon added a commit to obiba/angular-schema-form that referenced this pull request Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants