{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/2088","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/2088/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/2088/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/2088/events","html_url":"https://github.com/erikras/redux-form/issues/2088","id":187575255,"node_id":"MDU6SXNzdWUxODc1NzUyNTU=","number":2088,"title":"Why action on handle submit do not validate each time?","user":{"login":"alex-shamshurin","id":1595209,"node_id":"MDQ6VXNlcjE1OTUyMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1595209?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-shamshurin","html_url":"https://github.com/alex-shamshurin","followers_url":"https://api.github.com/users/alex-shamshurin/followers","following_url":"https://api.github.com/users/alex-shamshurin/following{/other_user}","gists_url":"https://api.github.com/users/alex-shamshurin/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-shamshurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-shamshurin/subscriptions","organizations_url":"https://api.github.com/users/alex-shamshurin/orgs","repos_url":"https://api.github.com/users/alex-shamshurin/repos","events_url":"https://api.github.com/users/alex-shamshurin/events{/privacy}","received_events_url":"https://api.github.com/users/alex-shamshurin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-06T17:23:05Z","updated_at":"2018-12-07T06:33:11Z","closed_at":"2017-12-06T23:06:16Z","author_association":"NONE","body":"IN SHORT: Set focus each time to invalid field on each form sumbit\r\n\r\nDESC: I need to set focus on submit to apropriate invalid field. I have all necassary actions to do that and refs for each field. The idea is to fire \"setFocus\" event from \"submitFailed\" callback and track onFocus props change in \"componentDidUpdate\". But problem is that validation on submit fires only once, after first sumbit (which works normally) fields must be \"changed\" to make the form submitable again, otherwise form won't submit, it just emits  \"TOUCH\" and \"redux-form/SET_SUBMIT_FAILED\" event.  I tried to fire off 'redux-form/CHANGE' event, but it does't help. The desired behavior can be achieved only via \"INITIALIZE\" on each submit or setting \"enableReinitialize\" and \"initialValues\" settings. But I really do not want to copy values to another state slice before submit and and reset to that values via\"enableReinitialize\". I want just submit to fire each time user push the button. I cannot find explanations for this weird behaviour.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/445137232","html_url":"https://github.com/erikras/redux-form/issues/2088#issuecomment-445137232","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/2088","id":445137232,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTEzNzIzMg==","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:11Z","updated_at":"2018-12-07T06:33:11Z","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"}}