{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/2041","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/2041/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/2041/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/2041/events","html_url":"https://github.com/erikras/redux-form/issues/2041","id":185942665,"node_id":"MDU6SXNzdWUxODU5NDI2NjU=","number":2041,"title":"onSubmit function has no more access to redux' dispatch","user":{"login":"Guibod","id":840033,"node_id":"MDQ6VXNlcjg0MDAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/840033?v=4","gravatar_id":"","url":"https://api.github.com/users/Guibod","html_url":"https://github.com/Guibod","followers_url":"https://api.github.com/users/Guibod/followers","following_url":"https://api.github.com/users/Guibod/following{/other_user}","gists_url":"https://api.github.com/users/Guibod/gists{/gist_id}","starred_url":"https://api.github.com/users/Guibod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guibod/subscriptions","organizations_url":"https://api.github.com/users/Guibod/orgs","repos_url":"https://api.github.com/users/Guibod/repos","events_url":"https://api.github.com/users/Guibod/events{/privacy}","received_events_url":"https://api.github.com/users/Guibod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-28T14:49:36Z","updated_at":"2018-12-07T06:33:09Z","closed_at":"2017-12-06T23:06:13Z","author_association":"NONE","body":"I've recently switched to `v6.1.1` from a older`5.1.x` in search for parent form submission.\n\nUnfortunately my good old `onSubmit` function is no longer called with `dispatch` function as second parameter.\n\nI could easily create a callback method with injection of my dispatch in parent object, yet, it is not feasible in the reduxForm decorator call:\n\n```\nexport default reduxForm({\n  form: 'auth_register',\n  validate,\n  onSubmit: (values) => onRegisterSubmit(values, /* how to inject dispatch here ? */)\n})(Register);\n```\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/445137225","html_url":"https://github.com/erikras/redux-form/issues/2041#issuecomment-445137225","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/2041","id":445137225,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTEzNzIyNQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-07T06:33:09Z","updated_at":"2018-12-07T06:33:09Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}