{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/348","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/348/comments","events_url":"https://api.github.com/repos/angular/material2/issues/348/events","html_url":"https://github.com/angular/material2/issues/348","id":150785361,"number":348,"title":"Add guidance for styling invalid inputs","user":{"login":"Pixcell","id":4005291,"avatar_url":"https://avatars.githubusercontent.com/u/4005291?v=3","gravatar_id":"","url":"https://api.github.com/users/Pixcell","html_url":"https://github.com/Pixcell","followers_url":"https://api.github.com/users/Pixcell/followers","following_url":"https://api.github.com/users/Pixcell/following{/other_user}","gists_url":"https://api.github.com/users/Pixcell/gists{/gist_id}","starred_url":"https://api.github.com/users/Pixcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pixcell/subscriptions","organizations_url":"https://api.github.com/users/Pixcell/orgs","repos_url":"https://api.github.com/users/Pixcell/repos","events_url":"https://api.github.com/users/Pixcell/events{/privacy}","received_events_url":"https://api.github.com/users/Pixcell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material2/labels/feature","name":"feature","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"hansl","id":681969,"avatar_url":"https://avatars.githubusercontent.com/u/681969?v=3","gravatar_id":"","url":"https://api.github.com/users/hansl","html_url":"https://github.com/hansl","followers_url":"https://api.github.com/users/hansl/followers","following_url":"https://api.github.com/users/hansl/following{/other_user}","gists_url":"https://api.github.com/users/hansl/gists{/gist_id}","starred_url":"https://api.github.com/users/hansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansl/subscriptions","organizations_url":"https://api.github.com/users/hansl/orgs","repos_url":"https://api.github.com/users/hansl/repos","events_url":"https://api.github.com/users/hansl/events{/privacy}","received_events_url":"https://api.github.com/users/hansl/received_events","type":"User","site_admin":false},"assignees":[{"login":"hansl","id":681969,"avatar_url":"https://avatars.githubusercontent.com/u/681969?v=3","gravatar_id":"","url":"https://api.github.com/users/hansl","html_url":"https://github.com/hansl","followers_url":"https://api.github.com/users/hansl/followers","following_url":"https://api.github.com/users/hansl/following{/other_user}","gists_url":"https://api.github.com/users/hansl/gists{/gist_id}","starred_url":"https://api.github.com/users/hansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansl/subscriptions","organizations_url":"https://api.github.com/users/hansl/orgs","repos_url":"https://api.github.com/users/hansl/repos","events_url":"https://api.github.com/users/hansl/events{/privacy}","received_events_url":"https://api.github.com/users/hansl/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/material2/milestones/10","html_url":"https://github.com/angular/material2/milestones/alpha.7","labels_url":"https://api.github.com/repos/angular/material2/milestones/10/labels","id":1723364,"number":10,"title":"alpha.7","description":"","creator":{"login":"jelbourn","id":838736,"avatar_url":"https://avatars.githubusercontent.com/u/838736?v=3","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":12,"state":"open","created_at":"2016-04-21T17:18:34Z","updated_at":"2016-10-07T19:35:12Z","due_on":"2016-07-22T07:00:00Z","closed_at":null},"comments":6,"created_at":"2016-04-25T08:23:15Z","updated_at":"2016-10-24T23:35:10Z","closed_at":null,"body":"**Note: for support questions, please use one of these channels:**\r\nhttps://github.com/angular/material2/blob/master/CONTRIBUTING.md#question.\r\nThis repository's issues are reserved for feature requests and bug reports.\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\nFeature\r\n\r\n\r\n* **What is the current behavior?**\r\nThe only class available on md-input is .md-focused\r\n\r\n\r\n* **If the current behavior is a bug,\r\nplease provide steps to reproduce and if possible a minimal demo of the problem**\r\nvia https://plnkr.co or similar.\r\n\r\n\r\n* **What is the expected behavior?**\r\nIt would be great if the classes of ngControl could be transfered to the md-input label and the md-input underline, in order to display live return on the validity of inputs\r\n\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\n\r\nBetter User experience\r\n\r\n* **Which version of Angular and Material, and which browser and OS does this issue affect?**\r\nDid this work in previous versions of Angular / Material?\r\nPlease also test with the latest stable and snapshot versions.\r\n\r\n\r\n\r\n* **Other information**\r\n(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)\r\n"},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/255895631","html_url":"https://github.com/angular/material2/issues/348#issuecomment-255895631","issue_url":"https://api.github.com/repos/angular/material2/issues/348","id":255895631,"user":{"login":"leocaseiro","id":940070,"avatar_url":"https://avatars.githubusercontent.com/u/940070?v=3","gravatar_id":"","url":"https://api.github.com/users/leocaseiro","html_url":"https://github.com/leocaseiro","followers_url":"https://api.github.com/users/leocaseiro/followers","following_url":"https://api.github.com/users/leocaseiro/following{/other_user}","gists_url":"https://api.github.com/users/leocaseiro/gists{/gist_id}","starred_url":"https://api.github.com/users/leocaseiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leocaseiro/subscriptions","organizations_url":"https://api.github.com/users/leocaseiro/orgs","repos_url":"https://api.github.com/users/leocaseiro/repos","events_url":"https://api.github.com/users/leocaseiro/events{/privacy}","received_events_url":"https://api.github.com/users/leocaseiro/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T23:35:10Z","updated_at":"2016-10-24T23:35:10Z","body":"Hi @krigton, yep. My solution is temporary.\r\n\r\nHope works for you.\r\n\r\nYou can use any color from material or create your own.\r\n\r\nExample:\r\n```scss\r\n@import '~@angular/material/core/theming/all-theme';\r\n@include md-core();\r\n.red {\r\n    color: md-color($md-red, 500, 1);\r\n}\r\n\r\n.warn {\r\n   color: md-color($warn);\r\n}\r\n```"}}
{"actor":{"display_login":"leocaseiro"}}