-
Notifications
You must be signed in to change notification settings - Fork 41
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
$$hashKey attribute is added to the last children #59
Comments
hannabasha
changed the title
$$hashKey attribute is added to the last child
$$hashKey attribute is added to the last childern
Aug 10, 2017
hannabasha
changed the title
$$hashKey attribute is added to the last childern
$$hashKey attribute is added to the last children
Aug 10, 2017
Datrio
added a commit
to Datrio/angular-json-tree
that referenced
this issue
Aug 24, 2017
awendland
pushed a commit
that referenced
this issue
Jan 9, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, really nice work!!!
I am working on having a toggle between the code view and the tree view of a JSON object. So when the user clicks to view the tree mode I show the JSON using the package and when the user clicks to view the code mode again I hide the tree view but I notice that the object has an attribute added to the children which is
$$hashKey:"object:695". the number changes depending on the child.
The following is the normal JSON I have
{ "second": "good night", "third": [ 1, "two", 3, { "child": true }, { "parent": true } ], "first": "bye" }
and when I show the tree mode and go back to the code mode I get the following object
{ "second": "good night", "third": [ 1, "two", 3, { $$hashKey:"object:695", "child": true }, { $$hashKey:"object:696", "parent": true } ], "first": "bye" }
Environment
Angular 1.5.5
The text was updated successfully, but these errors were encountered: