{"action":"created","issue":{"url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/642","repository_url":"https://api.github.com/repos/json-schema-form/angular-schema-form","labels_url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/642/comments","events_url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/642/events","html_url":"https://github.com/json-schema-form/angular-schema-form/pull/642","id":134919450,"number":642,"title":"Revalidate model after successful custom validation event broadcasted","user":{"login":"cepauskas","id":6285173,"avatar_url":"https://avatars.githubusercontent.com/u/6285173?v=3","gravatar_id":"","url":"https://api.github.com/users/cepauskas","html_url":"https://github.com/cepauskas","followers_url":"https://api.github.com/users/cepauskas/followers","following_url":"https://api.github.com/users/cepauskas/following{/other_user}","gists_url":"https://api.github.com/users/cepauskas/gists{/gist_id}","starred_url":"https://api.github.com/users/cepauskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cepauskas/subscriptions","organizations_url":"https://api.github.com/users/cepauskas/orgs","repos_url":"https://api.github.com/users/cepauskas/repos","events_url":"https://api.github.com/users/cepauskas/events{/privacy}","received_events_url":"https://api.github.com/users/cepauskas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-02-19T17:11:27Z","updated_at":"2016-04-04T06:01:47Z","closed_at":"2016-03-09T10:27:27Z","pull_request":{"url":"https://api.github.com/repos/json-schema-form/angular-schema-form/pulls/642","html_url":"https://github.com/json-schema-form/angular-schema-form/pull/642","diff_url":"https://github.com/json-schema-form/angular-schema-form/pull/642.diff","patch_url":"https://github.com/json-schema-form/angular-schema-form/pull/642.patch"},"body":"# Description\r\n\r\nCustom validation of input fails if event of successful validation is broadcasted after input validation is executed in onChange method (for example custom validation takes some time - timeout, async request etc.).   \r\n\r\n## Reproduce\r\n\r\nEnter \"yzy\" as name, wait a second till custom validation with timeout will ran (you will get \"exists\" error message). Enter one more character wait one more second. Input will be marked as invalid although it is valid.\r\n\r\nhttps://jsfiddle.net/t1a8nhop/\r\n\r\n## Fix relates with issues\r\n#577\r\n#637\r\n#440"},"comment":{"url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/comments/205148412","html_url":"https://github.com/json-schema-form/angular-schema-form/pull/642#issuecomment-205148412","issue_url":"https://api.github.com/repos/json-schema-form/angular-schema-form/issues/642","id":205148412,"user":{"login":"Anthropic","id":1182507,"avatar_url":"https://avatars.githubusercontent.com/u/1182507?v=3","gravatar_id":"","url":"https://api.github.com/users/Anthropic","html_url":"https://github.com/Anthropic","followers_url":"https://api.github.com/users/Anthropic/followers","following_url":"https://api.github.com/users/Anthropic/following{/other_user}","gists_url":"https://api.github.com/users/Anthropic/gists{/gist_id}","starred_url":"https://api.github.com/users/Anthropic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anthropic/subscriptions","organizations_url":"https://api.github.com/users/Anthropic/orgs","repos_url":"https://api.github.com/users/Anthropic/repos","events_url":"https://api.github.com/users/Anthropic/events{/privacy}","received_events_url":"https://api.github.com/users/Anthropic/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T06:01:47Z","updated_at":"2016-04-04T06:01:47Z","body":"@raoulus @cepauskas 0.8.13 is now in bower and the npm release will be follow by tomorrow"}}