{"action":"created","issue":{"url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/211","repository_url":"https://api.github.com/repos/react-hook-form/react-hook-form","labels_url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/211/comments","events_url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/211/events","html_url":"https://github.com/react-hook-form/react-hook-form/issues/211","id":480844426,"node_id":"MDU6SXNzdWU0ODA4NDQ0MjY=","number":211,"title":"[REQ] Ability to return form and field level errors from submission ","user":{"login":"stramel","id":855184,"node_id":"MDQ6VXNlcjg1NTE4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/855184?v=4","gravatar_id":"","url":"https://api.github.com/users/stramel","html_url":"https://github.com/stramel","followers_url":"https://api.github.com/users/stramel/followers","following_url":"https://api.github.com/users/stramel/following{/other_user}","gists_url":"https://api.github.com/users/stramel/gists{/gist_id}","starred_url":"https://api.github.com/users/stramel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stramel/subscriptions","organizations_url":"https://api.github.com/users/stramel/orgs","repos_url":"https://api.github.com/users/stramel/repos","events_url":"https://api.github.com/users/stramel/events{/privacy}","received_events_url":"https://api.github.com/users/stramel/received_events","type":"User","site_admin":false},"labels":[{"id":1260145698,"node_id":"MDU6TGFiZWwxMjYwMTQ1Njk4","url":"https://api.github.com/repos/react-hook-form/react-hook-form/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"bluebill1049","id":10513364,"node_id":"MDQ6VXNlcjEwNTEzMzY0","avatar_url":"https://avatars3.githubusercontent.com/u/10513364?v=4","gravatar_id":"","url":"https://api.github.com/users/bluebill1049","html_url":"https://github.com/bluebill1049","followers_url":"https://api.github.com/users/bluebill1049/followers","following_url":"https://api.github.com/users/bluebill1049/following{/other_user}","gists_url":"https://api.github.com/users/bluebill1049/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebill1049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebill1049/subscriptions","organizations_url":"https://api.github.com/users/bluebill1049/orgs","repos_url":"https://api.github.com/users/bluebill1049/repos","events_url":"https://api.github.com/users/bluebill1049/events{/privacy}","received_events_url":"https://api.github.com/users/bluebill1049/received_events","type":"User","site_admin":false},"assignees":[{"login":"bluebill1049","id":10513364,"node_id":"MDQ6VXNlcjEwNTEzMzY0","avatar_url":"https://avatars3.githubusercontent.com/u/10513364?v=4","gravatar_id":"","url":"https://api.github.com/users/bluebill1049","html_url":"https://github.com/bluebill1049","followers_url":"https://api.github.com/users/bluebill1049/followers","following_url":"https://api.github.com/users/bluebill1049/following{/other_user}","gists_url":"https://api.github.com/users/bluebill1049/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebill1049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebill1049/subscriptions","organizations_url":"https://api.github.com/users/bluebill1049/orgs","repos_url":"https://api.github.com/users/bluebill1049/repos","events_url":"https://api.github.com/users/bluebill1049/events{/privacy}","received_events_url":"https://api.github.com/users/bluebill1049/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2019-08-14T19:16:24Z","updated_at":"2019-08-15T06:35:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nThis is a feature request for being able to pass the form errors from a submission.\r\n\r\n**Describe the solution you'd like**\r\nI would like to see the callback passed to `handleSubmit` be able to handle being returned an object of errors that could be merged into the existing `errors` object. Including a special case for an overall form-level error.\r\n\r\n\r\n**Describe alternatives you've considered**\r\nI tried manually implementing something like this and it requires a lot of work from the implementer's side.  \r\n\r\n/cc @bluebill1049 @barrymay "},"comment":{"url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/comments/521532476","html_url":"https://github.com/react-hook-form/react-hook-form/issues/211#issuecomment-521532476","issue_url":"https://api.github.com/repos/react-hook-form/react-hook-form/issues/211","id":521532476,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMTUzMjQ3Ng==","user":{"login":"JeromeDeLeon","id":32805276,"node_id":"MDQ6VXNlcjMyODA1Mjc2","avatar_url":"https://avatars0.githubusercontent.com/u/32805276?v=4","gravatar_id":"","url":"https://api.github.com/users/JeromeDeLeon","html_url":"https://github.com/JeromeDeLeon","followers_url":"https://api.github.com/users/JeromeDeLeon/followers","following_url":"https://api.github.com/users/JeromeDeLeon/following{/other_user}","gists_url":"https://api.github.com/users/JeromeDeLeon/gists{/gist_id}","starred_url":"https://api.github.com/users/JeromeDeLeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeromeDeLeon/subscriptions","organizations_url":"https://api.github.com/users/JeromeDeLeon/orgs","repos_url":"https://api.github.com/users/JeromeDeLeon/repos","events_url":"https://api.github.com/users/JeromeDeLeon/events{/privacy}","received_events_url":"https://api.github.com/users/JeromeDeLeon/received_events","type":"User","site_admin":false},"created_at":"2019-08-15T06:35:57Z","updated_at":"2019-08-15T06:35:57Z","author_association":"NONE","body":"@stramel, `setStatus` in `const [status, setStatus] = useState({ });` for other things I want to do in my form like successfully detecting if It successfully submitted or not."}}
{"actor":{"display_login":"JeromeDeLeon"}}