{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/8666","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/8666/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/8666/comments","events_url":"https://api.github.com/repos/angular/material/issues/8666/events","html_url":"https://github.com/angular/material/issues/8666","id":158673523,"number":8666,"title":"mdSelect: validation bug","user":{"login":"MatiasKiuru","id":4637584,"avatar_url":"https://avatars.githubusercontent.com/u/4637584?v=3","gravatar_id":"","url":"https://api.github.com/users/MatiasKiuru","html_url":"https://github.com/MatiasKiuru","followers_url":"https://api.github.com/users/MatiasKiuru/followers","following_url":"https://api.github.com/users/MatiasKiuru/following{/other_user}","gists_url":"https://api.github.com/users/MatiasKiuru/gists{/gist_id}","starred_url":"https://api.github.com/users/MatiasKiuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatiasKiuru/subscriptions","organizations_url":"https://api.github.com/users/MatiasKiuru/orgs","repos_url":"https://api.github.com/users/MatiasKiuru/repos","events_url":"https://api.github.com/users/MatiasKiuru/events{/privacy}","received_events_url":"https://api.github.com/users/MatiasKiuru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/type:%20bug","name":"type: bug","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-06-06T13:09:07Z","updated_at":"2016-06-11T18:04:02Z","closed_at":null,"body":"**Actual behavior**:\r\n-  What is the issue? *\r\nmd-select shows validation error (required) even when a value is selected\r\n\r\n**CodePen** or Steps to reproduce the issue: *\r\n-  CodePen Demo which shows your issue : http://codepen.io/anon/pen/PzPwZO\r\n\r\nEDIT: Here is a revised one:\r\nhttp://codepen.io/anon/pen/beVdRb\r\nClick the select and then click away without changing the value.\r\n\r\n-  Details: The demo works with rc4\r\n\r\n**Angular Versions**: *\r\n-  Angular Version: 1.5\r\n-  Angular Material Version: 1.10-rc.5\r\n\r\n**Additional Information**:\r\n-  Browser Type: Chrome\r\n-  Browser Version: 51.0.2704.79\r\n-  OS: Fedora 23\r\n-  Stack Traces:"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/225380839","html_url":"https://github.com/angular/material/issues/8666#issuecomment-225380839","issue_url":"https://api.github.com/repos/angular/material/issues/8666","id":225380839,"user":{"login":"randallmeeker","id":2538537,"avatar_url":"https://avatars.githubusercontent.com/u/2538537?v=3","gravatar_id":"","url":"https://api.github.com/users/randallmeeker","html_url":"https://github.com/randallmeeker","followers_url":"https://api.github.com/users/randallmeeker/followers","following_url":"https://api.github.com/users/randallmeeker/following{/other_user}","gists_url":"https://api.github.com/users/randallmeeker/gists{/gist_id}","starred_url":"https://api.github.com/users/randallmeeker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randallmeeker/subscriptions","organizations_url":"https://api.github.com/users/randallmeeker/orgs","repos_url":"https://api.github.com/users/randallmeeker/repos","events_url":"https://api.github.com/users/randallmeeker/events{/privacy}","received_events_url":"https://api.github.com/users/randallmeeker/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T18:04:02Z","updated_at":"2016-06-11T18:04:02Z","body":"I made a codepen to report the same issue before noticing this issue, its nothing new, but wha the hay, probably better than adding a `+1` http://codepen.io/randallmeeker/pen/mEVZEg\r\n\r\nanyone got a work around that does not meddle with the core? I work around I'm using is replacing `required` with `ngRequired` and using the inputs model as a truthy value. \r\n\r\n`<md-select ng-model=\"data\" ng-required=\"!data\"> <md-option>...</md-option> </md-select>`"}}
{"actor":{"display_login":"randallmeeker"}}