{"action":"opened","issue":{"url":"https://api.github.com/repos/odecee/angular-form-lib/issues/13","repository_url":"https://api.github.com/repos/odecee/angular-form-lib","labels_url":"https://api.github.com/repos/odecee/angular-form-lib/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/odecee/angular-form-lib/issues/13/comments","events_url":"https://api.github.com/repos/odecee/angular-form-lib/issues/13/events","html_url":"https://github.com/odecee/angular-form-lib/issues/13","id":160095399,"number":13,"title":"Form input validation highlighting doesn't match field errors state","user":{"login":"rpocklin","id":876651,"avatar_url":"https://avatars.githubusercontent.com/u/876651?v=3","gravatar_id":"","url":"https://api.github.com/users/rpocklin","html_url":"https://github.com/rpocklin","followers_url":"https://api.github.com/users/rpocklin/followers","following_url":"https://api.github.com/users/rpocklin/following{/other_user}","gists_url":"https://api.github.com/users/rpocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/rpocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpocklin/subscriptions","organizations_url":"https://api.github.com/users/rpocklin/orgs","repos_url":"https://api.github.com/users/rpocklin/repos","events_url":"https://api.github.com/users/rpocklin/events{/privacy}","received_events_url":"https://api.github.com/users/rpocklin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-14T04:32:16Z","updated_at":"2016-06-14T04:32:16Z","closed_at":null,"body":"We are using the form validation **field-errors** directive with the **form-input** directive which works great except for when, after blurring the input with invalid data (field errors and input error highlighting appear) and then changing the input value back into a valid state, the field error messages disappear however the **has-error** and accompanying error classes remain on the field until it is blurred again.\r\n\r\nChanging the L.O.C. in `function watchForBlurEvent` from \r\n```\r\nelement.bind('blur', function ngShowWatchAction() {\r\n```\r\nto\r\n```\r\nelement.bind('blur keyup', function ngShowWatchAction() {\r\n```\r\n\r\nsolves the problem but will add overhead.  Thoughts?\r\n"}}
{"actor":{"display_login":"rpocklin"}}