Open nagarajanchinnasamy opened 6 years ago
@nagarajanchinnasamy Thank you this pull request fixed all my open issues. @idelvall +1 for merging this pull request
thank you! fixed issues i had as well with dynamically build arrays with distinct fieldnames hope this can be merged soon into @idelvall 's master !
thank you very much for the implementation!
With the getData method, the generated elements are not displayed. The error occurs when the first element had an addition and the next element makes a schema change.
Than getData has the result:
data: {"speciesList":[{"species":"dog"},{"species":"human"}]}
With only one Entry the result is:
data: {"speciesList":[{"species":"dog","subspecies":"bulldog"}]}
How did you fix the problem? Does it happen to you too?
When using
dependsOn
between properties of an object placed in an array, encountered various issues. Please use the examples provided in examples folder to test scenarios below:Issue 1:
When an item is added by clicking Add Item button, received
Uncaught Type Error: element.equals is not a function
exception.Issue 2:
After fixing issue-1, using the following steps:
received
Uncaught TypeError: cannot read property 'type' of undefined
exceptionIssue 3:
After fixing issue-2, using the following steps (in example2.html):
received
Uncaught TypeError: cannot read property '$ref' of undefined
exception.Issue 4:
After fixing issue-3, noticed that, dependency change is effective only in the last item of the array. Other items do not react to change in the drop-down value. This I feel something to do with depencyMap. But could not figure out a solution for this. Need help. Thanks.