{"action":"closed","issue":{"url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/292","repository_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder","labels_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/292/comments","events_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/292/events","html_url":"https://github.com/kristijanhusak/laravel-form-builder/issues/292","id":184826247,"number":292,"title":"File type array without collection","user":{"login":"jaroslawziolkowski","id":6404533,"avatar_url":"https://avatars.githubusercontent.com/u/6404533?v=3","gravatar_id":"","url":"https://api.github.com/users/jaroslawziolkowski","html_url":"https://github.com/jaroslawziolkowski","followers_url":"https://api.github.com/users/jaroslawziolkowski/followers","following_url":"https://api.github.com/users/jaroslawziolkowski/following{/other_user}","gists_url":"https://api.github.com/users/jaroslawziolkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/jaroslawziolkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaroslawziolkowski/subscriptions","organizations_url":"https://api.github.com/users/jaroslawziolkowski/orgs","repos_url":"https://api.github.com/users/jaroslawziolkowski/repos","events_url":"https://api.github.com/users/jaroslawziolkowski/events{/privacy}","received_events_url":"https://api.github.com/users/jaroslawziolkowski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-24T12:26:26Z","updated_at":"2016-10-25T07:54:14Z","closed_at":"2016-10-25T07:54:14Z","body":"Hi,\r\ndoes it possible to use name like \"attr['44232'][]\" for file field type but don't use collection of file? Of course I can modify template. But when I try then I see error:\r\n`tmlentities() expects parameter 1 to be string, array given `\r\n\r\nim my template I use \r\n```\r\n<?= Form::input($type, $name, $options['value'], $options['attr']) ?>\r\n```\r\nsame like in original. My name parameter is `attr['44232'][]` by is string var_dump return string 'attr['44232'][]'.\r\n\r\nWhen I use collection automatically I see 'attr['44232'][0]'\r\nbut I need to copy field in js and better solution is 'attr['44232'][]' when I'd like many fields control by js."}}
{"actor":{"display_login":"jaroslawziolkowski"}}