{"action":"closed","issue":{"url":"https://api.github.com/repos/gwenaelp/vfg-field-array/issues/1","repository_url":"https://api.github.com/repos/gwenaelp/vfg-field-array","labels_url":"https://api.github.com/repos/gwenaelp/vfg-field-array/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gwenaelp/vfg-field-array/issues/1/comments","events_url":"https://api.github.com/repos/gwenaelp/vfg-field-array/issues/1/events","html_url":"https://github.com/gwenaelp/vfg-field-array/issues/1","id":313201262,"number":1,"title":"Default object passed as references to all the components","user":{"login":"mix359","id":508605,"avatar_url":"https://avatars0.githubusercontent.com/u/508605?v=4","gravatar_id":"","url":"https://api.github.com/users/mix359","html_url":"https://github.com/mix359","followers_url":"https://api.github.com/users/mix359/followers","following_url":"https://api.github.com/users/mix359/following{/other_user}","gists_url":"https://api.github.com/users/mix359/gists{/gist_id}","starred_url":"https://api.github.com/users/mix359/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mix359/subscriptions","organizations_url":"https://api.github.com/users/mix359/orgs","repos_url":"https://api.github.com/users/mix359/repos","events_url":"https://api.github.com/users/mix359/events{/privacy}","received_events_url":"https://api.github.com/users/mix359/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T07:18:38Z","updated_at":"2018-05-04T18:06:51Z","closed_at":"2018-05-04T18:06:51Z","author_association":"CONTRIBUTOR","body":"Hi,\r\nI'm trying this component for one of my project.\r\nI've followed one of the example that use this component in conjunction with the field-object, and following that example, in my schema I've an \"items.default: {}\".\r\n\r\nDoing that, I've found a strange behavior: When I have more than once instance of the object, they are all referring to the same default object, so the similar fields are compiled with the same values in all the instances of the component. For example, if you have a text input in the schema of the field-object, all those text input will share the same values.\r\n\r\nLooking at the code of the field-array.vue, I see that you're assigning the same object and pushing it  to the value array (around line 89), shouldn't be deep cloned? So that every time there's a new instance of the object and not a reference to the same.\r\n\r\nThanks for your work!\r\nDaniele"}}
{"actor":{"display_login":"gwenaelp"}}