{"action":"created","issue":{"url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/430","labels_url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/430/comments","events_url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/430/events","html_url":"https://github.com/Textalk/angular-schema-form/issues/430","id":88433055,"number":430,"title":"Required radio group failing validation when valid","user":{"login":"ga-dan","id":11335150,"avatar_url":"https://avatars.githubusercontent.com/u/11335150?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dan","html_url":"https://github.com/ga-dan","followers_url":"https://api.github.com/users/ga-dan/followers","following_url":"https://api.github.com/users/ga-dan/following{/other_user}","gists_url":"https://api.github.com/users/ga-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dan/subscriptions","organizations_url":"https://api.github.com/users/ga-dan/orgs","repos_url":"https://api.github.com/users/ga-dan/repos","events_url":"https://api.github.com/users/ga-dan/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-15T13:48:32Z","updated_at":"2015-09-04T11:47:57Z","closed_at":null,"body":"Hi there,\r\n\r\nFirst of all, thank you for the work you do on this awesome project.\r\n\r\nWhile experimenting a bit, I bumped into what seems to be an issue with the `required` validation on a `radios` field.\r\n\r\nWhen I attempt to validate a form that contains a `required` `radios` field, and I have _not_ selected any of the radio buttons in the field, the `required` validation fails as expected.  If, after the validation failure occurs, I then select one of the radio buttons and attempt to validate the form again, the form validation fails again, even though an option in the required radio group is selected.\r\n\r\nIt seems that, when the form is in this state, I can get the validation to pass only by selecting each and every radio button in the group, one at a time, and then validating the form again.\r\n\r\nI'm able to reproduce the issue at http://jsfiddle.net/gdcwy8hc/ with the following steps:\r\n\r\n1. Without selecting any of the radio buttons, click the \"Validate\" button. The `required` validation fails as expected.\r\n2. After the validation fails, select one of the radio buttons, and click the \"Validate\" button again. The form validation fails again, even though one of the options is selected.\r\n\r\nHope this is helpful. :)\r\n\r\nThanks again for the awesome work you do!"},"comment":{"url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/comments/137715608","html_url":"https://github.com/Textalk/angular-schema-form/issues/430#issuecomment-137715608","issue_url":"https://api.github.com/repos/Textalk/angular-schema-form/issues/430","id":137715608,"user":{"login":"davidlgj","id":151694,"avatar_url":"https://avatars.githubusercontent.com/u/151694?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlgj","html_url":"https://github.com/davidlgj","followers_url":"https://api.github.com/users/davidlgj/followers","following_url":"https://api.github.com/users/davidlgj/following{/other_user}","gists_url":"https://api.github.com/users/davidlgj/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlgj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlgj/subscriptions","organizations_url":"https://api.github.com/users/davidlgj/orgs","repos_url":"https://api.github.com/users/davidlgj/repos","events_url":"https://api.github.com/users/davidlgj/events{/privacy}","received_events_url":"https://api.github.com/users/davidlgj/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T11:47:57Z","updated_at":"2015-09-04T11:47:57Z","body":"@stramel @ga-dan @aitboudad @bruderol @leader80 @jbsaff @morganmccrory I think I have a solution. It tied into #520. \r\n\r\nThere is a branch with a fix here https://github.com/Textalk/angular-schema-form/tree/hotfix/0.8.9\r\n\r\nI would really appreciate some help testing it out, so if you have time please do! "}}