{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/388","labels_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/388/comments","events_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/388/events","html_url":"https://github.com/kartik-v/bootstrap-fileinput/issues/388","id":99464965,"number":388,"title":"Drag and Drop doesn't update file list on html <input> element","user":{"login":"andrewschmidt-a","id":6654902,"avatar_url":"https://avatars.githubusercontent.com/u/6654902?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewschmidt-a","html_url":"https://github.com/andrewschmidt-a","followers_url":"https://api.github.com/users/andrewschmidt-a/followers","following_url":"https://api.github.com/users/andrewschmidt-a/following{/other_user}","gists_url":"https://api.github.com/users/andrewschmidt-a/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewschmidt-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewschmidt-a/subscriptions","organizations_url":"https://api.github.com/users/andrewschmidt-a/orgs","repos_url":"https://api.github.com/users/andrewschmidt-a/repos","events_url":"https://api.github.com/users/andrewschmidt-a/events{/privacy}","received_events_url":"https://api.github.com/users/andrewschmidt-a/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-06T15:41:54Z","updated_at":"2015-08-07T15:00:32Z","closed_at":"2015-08-06T16:28:35Z","body":"Reproduction Steps:\r\n\r\n1. initialize a file input with drop Zone enabled with id: 'yourID'\r\n2. add file by Drag and Drop\r\n3. goto a developer console and type the following:<br>\r\n`$('#yourID').get(0).files`\r\n4. Now you should see that there is no files added However if you were to upload by the browse button then you would see them\r\n\r\n\r\nProposed Work around\r\n1. Allow the user to get the filestack from the plugin's function `getFileStack()`\r\n2. find some way to actually attach to dom element the file (I dont have a working copy of fileinput.js for this solution[yet])"},"comment":{"url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/comments/128724147","html_url":"https://github.com/kartik-v/bootstrap-fileinput/issues/388#issuecomment-128724147","issue_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/388","id":128724147,"user":{"login":"andrewschmidt-a","id":6654902,"avatar_url":"https://avatars.githubusercontent.com/u/6654902?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewschmidt-a","html_url":"https://github.com/andrewschmidt-a","followers_url":"https://api.github.com/users/andrewschmidt-a/followers","following_url":"https://api.github.com/users/andrewschmidt-a/following{/other_user}","gists_url":"https://api.github.com/users/andrewschmidt-a/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewschmidt-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewschmidt-a/subscriptions","organizations_url":"https://api.github.com/users/andrewschmidt-a/orgs","repos_url":"https://api.github.com/users/andrewschmidt-a/repos","events_url":"https://api.github.com/users/andrewschmidt-a/events{/privacy}","received_events_url":"https://api.github.com/users/andrewschmidt-a/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T15:00:32Z","updated_at":"2015-08-07T15:00:32Z","body":"I still don't think you are following me.\r\nI want to get the file stack *regardless* to how many they insert. \r\nIn my case they can insert however many they want I just want to know the amount on the client side before. (e.g. I want to pop up a confirm box \"do you want to upload x files\" where x is the number)\r\n\r\nI understand if you don't want to open the file stack up to be accessed (like in my code I gave you) but I think you ought to, as I know it is useful for me and I am sure for others too."}}