{"action":"created","issue":{"url":"https://api.github.com/repos/LaravelCollective/html/issues/15","labels_url":"https://api.github.com/repos/LaravelCollective/html/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/LaravelCollective/html/issues/15/comments","events_url":"https://api.github.com/repos/LaravelCollective/html/issues/15/events","html_url":"https://github.com/LaravelCollective/html/issues/15","id":60042612,"number":15,"title":"htmlentities() expects parameter 1 to be string, array given (View:[path])","user":{"login":"quiquegarcia","id":286159,"avatar_url":"https://avatars.githubusercontent.com/u/286159?v=3","gravatar_id":"","url":"https://api.github.com/users/quiquegarcia","html_url":"https://github.com/quiquegarcia","followers_url":"https://api.github.com/users/quiquegarcia/followers","following_url":"https://api.github.com/users/quiquegarcia/following{/other_user}","gists_url":"https://api.github.com/users/quiquegarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/quiquegarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quiquegarcia/subscriptions","organizations_url":"https://api.github.com/users/quiquegarcia/orgs","repos_url":"https://api.github.com/users/quiquegarcia/repos","events_url":"https://api.github.com/users/quiquegarcia/events{/privacy}","received_events_url":"https://api.github.com/users/quiquegarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T00:57:27Z","updated_at":"2015-12-16T15:05:55Z","closed_at":"2015-03-06T05:06:38Z","body":"I want to send multiple values to my controller, but when I use:\r\n\r\n```php\r\n{!! Form::select('course_phases[]', $phases, null, ['class' => 'form-control', 'multiple']); !!}\r\n```\r\nor\r\n```php\r\n{!! Form::text('course_phases[]', null, ['class' => 'form-control', 'multiple']); !!}\r\n```\r\n\r\nI'm getting this exception\r\n\r\n```php\r\nhtmlentities() expects parameter 1 to be string, array given (View:[path])\r\n```\r\n\r\nThen I switched to illuminate/html with no changes on my view and works fine, what I'm doing wrong with this package?\r\n\r\nEDIT: Forget it, my problem was a javascript outside my form with an input text embbeded, don't know yet how happened!\r\n"},"comment":{"url":"https://api.github.com/repos/LaravelCollective/html/issues/comments/165135181","html_url":"https://github.com/LaravelCollective/html/issues/15#issuecomment-165135181","issue_url":"https://api.github.com/repos/LaravelCollective/html/issues/15","id":165135181,"user":{"login":"quiquegarcia","id":286159,"avatar_url":"https://avatars.githubusercontent.com/u/286159?v=3","gravatar_id":"","url":"https://api.github.com/users/quiquegarcia","html_url":"https://github.com/quiquegarcia","followers_url":"https://api.github.com/users/quiquegarcia/followers","following_url":"https://api.github.com/users/quiquegarcia/following{/other_user}","gists_url":"https://api.github.com/users/quiquegarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/quiquegarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quiquegarcia/subscriptions","organizations_url":"https://api.github.com/users/quiquegarcia/orgs","repos_url":"https://api.github.com/users/quiquegarcia/repos","events_url":"https://api.github.com/users/quiquegarcia/events{/privacy}","received_events_url":"https://api.github.com/users/quiquegarcia/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T15:05:55Z","updated_at":"2015-12-16T15:05:55Z","body":"In this specific case it was a text field generated dynamically by a javascript with the same name but outside my form tag, it was a very extrange behaviour."}}