{"action":"opened","issue":{"url":"https://api.github.com/repos/formvalidation/formvalidation/issues/1382","labels_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/1382/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/1382/comments","events_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/1382/events","html_url":"https://github.com/formvalidation/formvalidation/issues/1382","id":55271429,"number":1382,"title":"Field not updated to correct state after flagged as error and updated through Javascript","user":{"login":"fckoppenol","id":9803031,"avatar_url":"https://avatars.githubusercontent.com/u/9803031?v=3","gravatar_id":"","url":"https://api.github.com/users/fckoppenol","html_url":"https://github.com/fckoppenol","followers_url":"https://api.github.com/users/fckoppenol/followers","following_url":"https://api.github.com/users/fckoppenol/following{/other_user}","gists_url":"https://api.github.com/users/fckoppenol/gists{/gist_id}","starred_url":"https://api.github.com/users/fckoppenol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fckoppenol/subscriptions","organizations_url":"https://api.github.com/users/fckoppenol/orgs","repos_url":"https://api.github.com/users/fckoppenol/repos","events_url":"https://api.github.com/users/fckoppenol/events{/privacy}","received_events_url":"https://api.github.com/users/fckoppenol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-23T11:24:06Z","updated_at":"2015-01-23T11:24:06Z","closed_at":null,"body":"I encounter a problem with a form field that has been validated and is incorrect (e.g. not empty validator attached but validated while still empty). This is the correct behavior.\r\n\r\nIf this field does gets updated through an external JS component (e.g. $('.field').val('test') ) the field remains invalid while it actually meets the requirements of the attached validator.\r\n\r\nThe only way to fix the problem is to select the field and manually make a change (e.g. add space and delete a space).\r\n"}}