{"action":"created","issue":{"url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/468","repository_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder","labels_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/468/comments","events_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/468/events","html_url":"https://github.com/kristijanhusak/laravel-form-builder/issues/468","id":389866206,"node_id":"MDU6SXNzdWUzODk4NjYyMDY=","number":468,"title":"Class 'Kris\\LaravelFormBuilder\\Field' not found","user":{"login":"cuevven","id":2919581,"node_id":"MDQ6VXNlcjI5MTk1ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2919581?v=4","gravatar_id":"","url":"https://api.github.com/users/cuevven","html_url":"https://github.com/cuevven","followers_url":"https://api.github.com/users/cuevven/followers","following_url":"https://api.github.com/users/cuevven/following{/other_user}","gists_url":"https://api.github.com/users/cuevven/gists{/gist_id}","starred_url":"https://api.github.com/users/cuevven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuevven/subscriptions","organizations_url":"https://api.github.com/users/cuevven/orgs","repos_url":"https://api.github.com/users/cuevven/repos","events_url":"https://api.github.com/users/cuevven/events{/privacy}","received_events_url":"https://api.github.com/users/cuevven/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-11T17:12:13Z","updated_at":"2018-12-19T09:55:14Z","closed_at":"2018-12-15T15:39:56Z","author_association":"NONE","body":"Hi\r\nI followed the manual to create a form using the createByArray() method, but throwing an error, how do I fix it?\r\n\r\n```\r\nuse App\\Http\\Controllers\\Controller;\r\nuse Kris\\LaravelFormBuilder\\FormBuilder;\r\nuse Kris\\LaravelFormBuilder\\Field;\r\n\r\nclass SongsController extends Controller {\r\n\r\n    public function create(FormBuilder $formBuilder)\r\n    {\r\n        $form = $formBuilder->createByArray([\r\n                        [\r\n                            'name' => 'name',\r\n                            'type' => Field::TEXT,\r\n                        ],\r\n                        [\r\n                            'name' => 'lyrics',\r\n                            'type' => Field::TEXTAREA,\r\n                        ], \r\n                        [\r\n                            'name' => 'publish',\r\n                            'type' => Field::CHECKBOX\r\n                        ],\r\n                    ]\r\n            ,[\r\n            'method' => 'POST',\r\n            'url' => route('song.store')\r\n        ]);\r\n\r\n        return view('song.create', compact('form'));\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/comments/448536128","html_url":"https://github.com/kristijanhusak/laravel-form-builder/issues/468#issuecomment-448536128","issue_url":"https://api.github.com/repos/kristijanhusak/laravel-form-builder/issues/468","id":448536128,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODUzNjEyOA==","user":{"login":"kristijanhusak","id":1782860,"node_id":"MDQ6VXNlcjE3ODI4NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1782860?v=4","gravatar_id":"","url":"https://api.github.com/users/kristijanhusak","html_url":"https://github.com/kristijanhusak","followers_url":"https://api.github.com/users/kristijanhusak/followers","following_url":"https://api.github.com/users/kristijanhusak/following{/other_user}","gists_url":"https://api.github.com/users/kristijanhusak/gists{/gist_id}","starred_url":"https://api.github.com/users/kristijanhusak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristijanhusak/subscriptions","organizations_url":"https://api.github.com/users/kristijanhusak/orgs","repos_url":"https://api.github.com/users/kristijanhusak/repos","events_url":"https://api.github.com/users/kristijanhusak/events{/privacy}","received_events_url":"https://api.github.com/users/kristijanhusak/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T09:55:14Z","updated_at":"2018-12-19T09:55:14Z","author_association":"OWNER","body":"I released new version that has this. Sorry for the delay, my focus is on another projects. "}}
{"actor":{"display_login":"kristijanhusak"}}