{"action":"created","issue":{"url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/353","repository_url":"https://api.github.com/repos/foxhound87/mobx-react-form","labels_url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/353/comments","events_url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/353/events","html_url":"https://github.com/foxhound87/mobx-react-form/issues/353","id":284033215,"number":353,"title":"Field initially validated on blur, then validated on change","user":{"login":"codebury","id":32960350,"avatar_url":"https://avatars3.githubusercontent.com/u/32960350?v=4","gravatar_id":"","url":"https://api.github.com/users/codebury","html_url":"https://github.com/codebury","followers_url":"https://api.github.com/users/codebury/followers","following_url":"https://api.github.com/users/codebury/following{/other_user}","gists_url":"https://api.github.com/users/codebury/gists{/gist_id}","starred_url":"https://api.github.com/users/codebury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebury/subscriptions","organizations_url":"https://api.github.com/users/codebury/orgs","repos_url":"https://api.github.com/users/codebury/repos","events_url":"https://api.github.com/users/codebury/events{/privacy}","received_events_url":"https://api.github.com/users/codebury/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-21T23:28:55Z","updated_at":"2018-02-18T06:32:30Z","closed_at":null,"author_association":"NONE","body":"Hi.\r\n\r\nIt's possible that the initial form validates initially the fields on blur, but afther the first blur, the validation be on change? For example, I start typing in the Password field and no validation is performed. Then I click on Confirm Password but the Password field shows an error. I correct the Password and as I type, the field is being validated.\r\n\r\nI've tryed with:\r\n\r\n`<input {...this.correoForm.$('CorreoConfirm').bind() } onBlur={this.onBlur} className=\"form-control\" />`\r\n\r\n```\r\nonBlur = (field) => {\r\n        var b = this.correoForm.$(field.target.name);\r\n\r\n        if (b.state.options.get(\"validateOnChange\") === true) return;\r\n\r\n        b.state.options.set({ validateOnChange: true, validateOnBlur: false });\r\n}\r\n```\r\n\r\nI think that code overrides default field's onBlur configuration because form never validates the field on blur, only on change.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/comments/366495813","html_url":"https://github.com/foxhound87/mobx-react-form/issues/353#issuecomment-366495813","issue_url":"https://api.github.com/repos/foxhound87/mobx-react-form/issues/353","id":366495813,"user":{"login":"luketanner","id":13029400,"avatar_url":"https://avatars0.githubusercontent.com/u/13029400?v=4","gravatar_id":"","url":"https://api.github.com/users/luketanner","html_url":"https://github.com/luketanner","followers_url":"https://api.github.com/users/luketanner/followers","following_url":"https://api.github.com/users/luketanner/following{/other_user}","gists_url":"https://api.github.com/users/luketanner/gists{/gist_id}","starred_url":"https://api.github.com/users/luketanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luketanner/subscriptions","organizations_url":"https://api.github.com/users/luketanner/orgs","repos_url":"https://api.github.com/users/luketanner/repos","events_url":"https://api.github.com/users/luketanner/events{/privacy}","received_events_url":"https://api.github.com/users/luketanner/received_events","type":"User","site_admin":false},"created_at":"2018-02-18T06:32:30Z","updated_at":"2018-02-18T06:32:30Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"luketanner"}}