{"action":"created","issue":{"url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/4","repository_url":"https://api.github.com/repos/timbrandin/autoform-slingshot","labels_url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/4/comments","events_url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/4/events","html_url":"https://github.com/timbrandin/autoform-slingshot/issues/4","id":140634849,"number":4,"title":"Previous file array item clears out while adding new item.","user":{"login":"allpratik","id":6484895,"avatar_url":"https://avatars.githubusercontent.com/u/6484895?v=3","gravatar_id":"","url":"https://api.github.com/users/allpratik","html_url":"https://github.com/allpratik","followers_url":"https://api.github.com/users/allpratik/followers","following_url":"https://api.github.com/users/allpratik/following{/other_user}","gists_url":"https://api.github.com/users/allpratik/gists{/gist_id}","starred_url":"https://api.github.com/users/allpratik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allpratik/subscriptions","organizations_url":"https://api.github.com/users/allpratik/orgs","repos_url":"https://api.github.com/users/allpratik/repos","events_url":"https://api.github.com/users/allpratik/events{/privacy}","received_events_url":"https://api.github.com/users/allpratik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-14T10:33:09Z","updated_at":"2016-09-14T01:23:16Z","closed_at":null,"body":"I have following schema for my autoform.\r\n\r\n```javascript\r\nuploads: {\r\n        type: Array,\r\n        label: 'Upload Files',\r\n        optional: true\r\n    },\r\n    'uploads.$': {\r\n        type: Object,\r\n        label: 'Add file'\r\n    },\r\n    'uploads.$.fileType': {\r\n        type: String,\r\n        label: 'Select the type of file',\r\n        autoform: {\r\n            type: 'selectize',\r\n            options: function () {\r\n                return [\r\n                    {label: \"label1\", value: \"label1\"},\r\n                    {label: \"label2\", value: \"label2\"},\r\n                    {label: \"label3\", value: \"label3\"}\r\n                ];\r\n            }\r\n        }\r\n    },\r\n    'uploads.$.fileName': {\r\n        type: String,\r\n        label: 'Enter file name (Optional)'\r\n    },\r\n    'uploads.$.pictureUrl': {\r\n      type: String,\r\n      label: 'Upload a Photo',\r\n      autoform: {\r\n            type: 'slingshotFileUpload',\r\n            afFieldInput:{\r\n              slingshotdirective: 'uploadImages'\r\n            }\r\n        }\r\n    }\r\n```\r\n\r\n\r\nBut whehever, I click on adding new element in my autoform, the file upload label from of previous element gets change to `upload` from `remove`... then I had to again go to that upper element and choose file second time to upload it successfully."},"comment":{"url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/comments/246877972","html_url":"https://github.com/timbrandin/autoform-slingshot/issues/4#issuecomment-246877972","issue_url":"https://api.github.com/repos/timbrandin/autoform-slingshot/issues/4","id":246877972,"user":{"login":"bwoods89","id":1126770,"avatar_url":"https://avatars.githubusercontent.com/u/1126770?v=3","gravatar_id":"","url":"https://api.github.com/users/bwoods89","html_url":"https://github.com/bwoods89","followers_url":"https://api.github.com/users/bwoods89/followers","following_url":"https://api.github.com/users/bwoods89/following{/other_user}","gists_url":"https://api.github.com/users/bwoods89/gists{/gist_id}","starred_url":"https://api.github.com/users/bwoods89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwoods89/subscriptions","organizations_url":"https://api.github.com/users/bwoods89/orgs","repos_url":"https://api.github.com/users/bwoods89/repos","events_url":"https://api.github.com/users/bwoods89/events{/privacy}","received_events_url":"https://api.github.com/users/bwoods89/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T01:23:16Z","updated_at":"2016-09-14T01:23:16Z","body":"Did you ever find a solution to this? I'm facing the same problem."}}
{"actor":{"display_login":"bwoods89"}}