{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11459","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11459/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11459/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11459/events","html_url":"https://github.com/angular/angular/issues/11459","id":175862142,"number":11459,"title":"A required checkbox should always be invalid if unchecked","user":{"login":"mirkonasato","id":133967,"avatar_url":"https://avatars.githubusercontent.com/u/133967?v=3","gravatar_id":"","url":"https://api.github.com/users/mirkonasato","html_url":"https://github.com/mirkonasato","followers_url":"https://api.github.com/users/mirkonasato/followers","following_url":"https://api.github.com/users/mirkonasato/following{/other_user}","gists_url":"https://api.github.com/users/mirkonasato/gists{/gist_id}","starred_url":"https://api.github.com/users/mirkonasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirkonasato/subscriptions","organizations_url":"https://api.github.com/users/mirkonasato/orgs","repos_url":"https://api.github.com/users/mirkonasato/repos","events_url":"https://api.github.com/users/mirkonasato/events{/privacy}","received_events_url":"https://api.github.com/users/mirkonasato/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20forms","name":"comp: forms","color":"c5def5"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20bug","name":"type: bug","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-08T20:55:15Z","updated_at":"2016-09-27T17:40:32Z","closed_at":null,"body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\n\r\nGiven an `<input type=\"checkbox\">` with the `required` attribute, `ngModel` correctly considers it invalid to start with. Checking it correctly makes it valid, but after unchecking it it's still valid.\r\n\r\n**Expected behavior**\r\n\r\nA required checkbox should always be invalid if it's not checked.\r\n\r\n**Reproduction of the problem**\r\n\r\nhttp://plnkr.co/edit/GZI2fiZ65qtJQIjJbZLh?p=preview\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n\r\nHTML5 Form Validation doesn't allow submitting a form if a required checkbox is unchecked. (Or at least that's how Chrome and Firefox work.)\r\n\r\n* **Angular version:** 2.0.0-rc.6\r\n \r\n* **Browser:** [all] \r\n \r\n* **Language:** [all]\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/249940269","html_url":"https://github.com/angular/angular/issues/11459#issuecomment-249940269","issue_url":"https://api.github.com/repos/angular/angular/issues/11459","id":249940269,"user":{"login":"joaquinloustau","id":7672268,"avatar_url":"https://avatars.githubusercontent.com/u/7672268?v=3","gravatar_id":"","url":"https://api.github.com/users/joaquinloustau","html_url":"https://github.com/joaquinloustau","followers_url":"https://api.github.com/users/joaquinloustau/followers","following_url":"https://api.github.com/users/joaquinloustau/following{/other_user}","gists_url":"https://api.github.com/users/joaquinloustau/gists{/gist_id}","starred_url":"https://api.github.com/users/joaquinloustau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaquinloustau/subscriptions","organizations_url":"https://api.github.com/users/joaquinloustau/orgs","repos_url":"https://api.github.com/users/joaquinloustau/repos","events_url":"https://api.github.com/users/joaquinloustau/events{/privacy}","received_events_url":"https://api.github.com/users/joaquinloustau/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T17:40:32Z","updated_at":"2016-09-27T17:40:32Z","body":"Hi, I just ran into the same issue and was wondering if a fix has been pushed. \r\n\r\nThanks!"}}
{"actor":{"display_login":"joaquinloustau"}}