Closed donalmurtagh closed 7 years ago
Thanks @donalmurtagh I will turn this into a test case to ensure the scenario is supported in future changes as well.
@donalmurtagh this test is passing in the latest changes I merged, please re-open if there's anything still not working in relation to this :)
@Anthropic I've updated the Plunker demo to use the latest code and agree that this issue is now resolved. By the way, I don't have permission to re-open issues.
Overview
In the latest version (1.0.0-alpha.5), the
schemaForm.merge
function reports incorrect keys for object properties stored in an arraySteps to Reproduce
Name
Age
Obviously these properties should not have the same key, and
name
andage
should be last elements of thekey
array.If you remove the
section
from the form, i.e. change the form definition toThe keys are correctly reported as
Name
Age
This problem does not exist in version 0.8.13.
@json-schema-form/angular-schema-form-lead