{"action":"created","issue":{"url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/736","repository_url":"https://api.github.com/repos/kevinchappell/formBuilder","labels_url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/736/comments","events_url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/736/events","html_url":"https://github.com/kevinchappell/formBuilder/issues/736","id":316918440,"node_id":"MDU6SXNzdWUzMTY5MTg0NDA=","number":736,"title":"the name of a multi file upload should be an array ","user":{"login":"ArnoutCreemers","id":3929965,"node_id":"MDQ6VXNlcjM5Mjk5NjU=","avatar_url":"https://avatars3.githubusercontent.com/u/3929965?v=4","gravatar_id":"","url":"https://api.github.com/users/ArnoutCreemers","html_url":"https://github.com/ArnoutCreemers","followers_url":"https://api.github.com/users/ArnoutCreemers/followers","following_url":"https://api.github.com/users/ArnoutCreemers/following{/other_user}","gists_url":"https://api.github.com/users/ArnoutCreemers/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnoutCreemers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnoutCreemers/subscriptions","organizations_url":"https://api.github.com/users/ArnoutCreemers/orgs","repos_url":"https://api.github.com/users/ArnoutCreemers/repos","events_url":"https://api.github.com/users/ArnoutCreemers/events{/privacy}","received_events_url":"https://api.github.com/users/ArnoutCreemers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T17:58:09Z","updated_at":"2018-09-01T10:00:19Z","closed_at":null,"author_association":"NONE","body":"### Description:\r\nWhen creating a multi-file uploader with the formbuilder plugin, the name of the file input element is not an array. This causes issues when processing the uploaded files.\r\n\r\n### Steps to reproduce:\r\n\r\n1. Go to https://formbuilder.online/\r\n2. Add a file uploader\r\n3. Go to settings and check \"Allow users to upload multiple files\"\r\n4. Save the form, copy the HTML\r\n\r\n### Expected Behavior\r\nThe input file is generated as:\r\n`<input type=\"file\" class=\"form-control\" name=\"file-1524506075088[]\" multiple=\"true\" id=\"file-1524506075088\">`\r\n\r\nNote the **[]** behind the name of the element\r\n\r\n### Actual Behavior\r\nThe input file is generated as:\r\n`<input type=\"file\" class=\"form-control\" name=\"file-1524506075088\" multiple=\"true\" id=\"file-1524506075088\">`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/comments/417847727","html_url":"https://github.com/kevinchappell/formBuilder/issues/736#issuecomment-417847727","issue_url":"https://api.github.com/repos/kevinchappell/formBuilder/issues/736","id":417847727,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzg0NzcyNw==","user":{"login":"sahilr2050","id":10128422,"node_id":"MDQ6VXNlcjEwMTI4NDIy","avatar_url":"https://avatars2.githubusercontent.com/u/10128422?v=4","gravatar_id":"","url":"https://api.github.com/users/sahilr2050","html_url":"https://github.com/sahilr2050","followers_url":"https://api.github.com/users/sahilr2050/followers","following_url":"https://api.github.com/users/sahilr2050/following{/other_user}","gists_url":"https://api.github.com/users/sahilr2050/gists{/gist_id}","starred_url":"https://api.github.com/users/sahilr2050/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahilr2050/subscriptions","organizations_url":"https://api.github.com/users/sahilr2050/orgs","repos_url":"https://api.github.com/users/sahilr2050/repos","events_url":"https://api.github.com/users/sahilr2050/events{/privacy}","received_events_url":"https://api.github.com/users/sahilr2050/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T10:00:19Z","updated_at":"2018-09-01T10:00:19Z","author_association":"NONE","body":"I have latest version of Form Builder Still the if input files allow multiple files then name should be an array. Still this is simple name"}}
{"actor":{"display_login":"sahilr2050"}}