{"action":"created","issue":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/839","repository_url":"https://api.github.com/repos/adonisjs/adonis-framework","labels_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/839/comments","events_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/839/events","html_url":"https://github.com/adonisjs/adonis-framework/issues/839","id":316818941,"number":839,"title":"Form return array instead of object","user":{"login":"garciamarco33","id":26541750,"avatar_url":"https://avatars3.githubusercontent.com/u/26541750?v=4","gravatar_id":"","url":"https://api.github.com/users/garciamarco33","html_url":"https://github.com/garciamarco33","followers_url":"https://api.github.com/users/garciamarco33/followers","following_url":"https://api.github.com/users/garciamarco33/following{/other_user}","gists_url":"https://api.github.com/users/garciamarco33/gists{/gist_id}","starred_url":"https://api.github.com/users/garciamarco33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garciamarco33/subscriptions","organizations_url":"https://api.github.com/users/garciamarco33/orgs","repos_url":"https://api.github.com/users/garciamarco33/repos","events_url":"https://api.github.com/users/garciamarco33/events{/privacy}","received_events_url":"https://api.github.com/users/garciamarco33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T13:43:35Z","updated_at":"2018-04-23T14:14:30Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have a form like that :\r\n```\r\n<form method=\"post\" action=\"/post\">\r\n    @each(item in items)\r\n        <input name=\"items[{{item.id}}]\">\r\n    @endeach\r\n    <button type=\"submit\">submit</button>\r\n</form>\r\n```\r\n\r\nAnd I want it to return me an object like this:\r\n`{ 1 : 0, 2: 0 }`\r\nI don't know why but if one of the item.id isn't over 21 it return me an array instead :\r\n`[ 0, 0 ]`\r\n\r\nAnd when I have a item.id over 21 it's working as expected\r\n\r\nI'm confused..."},"comment":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/comments/383590351","html_url":"https://github.com/adonisjs/adonis-framework/issues/839#issuecomment-383590351","issue_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/839","id":383590351,"user":{"login":"garciamarco33","id":26541750,"avatar_url":"https://avatars3.githubusercontent.com/u/26541750?v=4","gravatar_id":"","url":"https://api.github.com/users/garciamarco33","html_url":"https://github.com/garciamarco33","followers_url":"https://api.github.com/users/garciamarco33/followers","following_url":"https://api.github.com/users/garciamarco33/following{/other_user}","gists_url":"https://api.github.com/users/garciamarco33/gists{/gist_id}","starred_url":"https://api.github.com/users/garciamarco33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garciamarco33/subscriptions","organizations_url":"https://api.github.com/users/garciamarco33/orgs","repos_url":"https://api.github.com/users/garciamarco33/repos","events_url":"https://api.github.com/users/garciamarco33/events{/privacy}","received_events_url":"https://api.github.com/users/garciamarco33/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T14:14:30Z","updated_at":"2018-04-23T14:14:30Z","author_association":"NONE","body":"That's not what I want,\r\nI don't have multiple input name. I just need an object of 'items'\r\nLike I said it's working with\r\n```\r\n<input name=\"items[1]\">\r\n<input name=\"items[21]\">\r\n```\r\nBut not with:\r\n```\r\n<input name=\"items[1]\">\r\n<input name=\"items[2]\">\r\n```\r\n"}}
{"actor":{"display_login":"garciamarco33"}}