{"action":"created","issue":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/225","labels_url":"https://api.github.com/repos/formly-js/angular-formly/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/formly-js/angular-formly/issues/225/comments","events_url":"https://api.github.com/repos/formly-js/angular-formly/issues/225/events","html_url":"https://github.com/formly-js/angular-formly/issues/225","id":65971038,"number":225,"title":"Resetting the model doesn't if validation is used and field is invalid","user":{"login":"ValentinH","id":2678610,"avatar_url":"https://avatars.githubusercontent.com/u/2678610?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinH","html_url":"https://github.com/ValentinH","followers_url":"https://api.github.com/users/ValentinH/followers","following_url":"https://api.github.com/users/ValentinH/following{/other_user}","gists_url":"https://api.github.com/users/ValentinH/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinH/subscriptions","organizations_url":"https://api.github.com/users/ValentinH/orgs","repos_url":"https://api.github.com/users/ValentinH/repos","events_url":"https://api.github.com/users/ValentinH/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/formly-js/angular-formly/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-02T17:16:49Z","updated_at":"2015-04-27T12:12:50Z","closed_at":"2015-04-09T13:57:22Z","body":"In another try to reset a form, I do `formData = {}' to clean it.\r\nHowever, I have noticed that this doesn't work for invalid fields using validation (email for instance)\r\n\r\n[Here's an example](http://jsbin.com/tamegatonu/1/edit).\r\nTry to set an invalid value on Email and click \"Reset\"."},"comment":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/comments/96625190","html_url":"https://github.com/formly-js/angular-formly/issues/225#issuecomment-96625190","issue_url":"https://api.github.com/repos/formly-js/angular-formly/issues/225","id":96625190,"user":{"login":"SagiMedina","id":6016435,"avatar_url":"https://avatars.githubusercontent.com/u/6016435?v=3","gravatar_id":"","url":"https://api.github.com/users/SagiMedina","html_url":"https://github.com/SagiMedina","followers_url":"https://api.github.com/users/SagiMedina/followers","following_url":"https://api.github.com/users/SagiMedina/following{/other_user}","gists_url":"https://api.github.com/users/SagiMedina/gists{/gist_id}","starred_url":"https://api.github.com/users/SagiMedina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SagiMedina/subscriptions","organizations_url":"https://api.github.com/users/SagiMedina/orgs","repos_url":"https://api.github.com/users/SagiMedina/repos","events_url":"https://api.github.com/users/SagiMedina/events{/privacy}","received_events_url":"https://api.github.com/users/SagiMedina/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T12:12:50Z","updated_at":"2015-04-27T12:12:50Z","body":"Thanks a lot for your fast response! \r\nI'll check...\r\nbtw thank you for this amazing module!!\r\n"}}