{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/9197","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/9197/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/9197/comments","events_url":"https://api.github.com/repos/angular/material/issues/9197/events","html_url":"https://github.com/angular/material/issues/9197","id":168589817,"number":9197,"title":"md-button not disabled correctly","user":{"login":"smcardle","id":2040197,"avatar_url":"https://avatars.githubusercontent.com/u/2040197?v=3","gravatar_id":"","url":"https://api.github.com/users/smcardle","html_url":"https://github.com/smcardle","followers_url":"https://api.github.com/users/smcardle/followers","following_url":"https://api.github.com/users/smcardle/following{/other_user}","gists_url":"https://api.github.com/users/smcardle/gists{/gist_id}","starred_url":"https://api.github.com/users/smcardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcardle/subscriptions","organizations_url":"https://api.github.com/users/smcardle/orgs","repos_url":"https://api.github.com/users/smcardle/repos","events_url":"https://api.github.com/users/smcardle/events{/privacy}","received_events_url":"https://api.github.com/users/smcardle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T08:08:47Z","updated_at":"2016-08-01T20:29:15Z","closed_at":"2016-08-01T12:09:44Z","body":"**Actual Behavior**:\r\n -  `What is the issue? *`\r\nmd-button does not get disabled when contained in a parent element that has been disabled using ng-disabled\r\n -  `What is the expected behavior?`\r\nmd-button should not be actionable\r\n\r\n**CodePen** (or steps to reproduce the issue): *\r\n -  `CodePen Demo which shows your issue:`\r\nhttp://codepen.io/smcardle/pen/PzBvod \r\n-  `Details:`\r\nClicking the button on the pen is allowed even though the md-list-item they are in has been disabled\r\n\r\n**Angular Versions**: *\r\n -  `Angular Version:`\r\n1.4.3\r\n -  `Angular Material Version:`\r\n0.10.1\r\n\r\n**Additional Information**:\r\n -  `Browser Type: *`\r\nDesktop\r\n -  `Browser Version: *`\r\nChrome Version 51.0.2704.103 (64-bit)\r\n -  `OS: *`\r\nMac OSX Maverick\r\n -  `Stack Traces:`\r\nN/A\r\n\r\n----\r\nShortcut to create a [new CodePen Demo](http://codepen.io/team/AngularMaterial/pen/bEGJdd).\r\nNote: `*` indicates required information. Without this information, your issue may be auto-closed.\r\n\r\n> Do not modify the titles or questions. Simply add your responses to the ends of the questions.\r\n  Add more lines if needed."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/236697656","html_url":"https://github.com/angular/material/issues/9197#issuecomment-236697656","issue_url":"https://api.github.com/repos/angular/material/issues/9197","id":236697656,"user":{"login":"smcardle","id":2040197,"avatar_url":"https://avatars.githubusercontent.com/u/2040197?v=3","gravatar_id":"","url":"https://api.github.com/users/smcardle","html_url":"https://github.com/smcardle","followers_url":"https://api.github.com/users/smcardle/followers","following_url":"https://api.github.com/users/smcardle/following{/other_user}","gists_url":"https://api.github.com/users/smcardle/gists{/gist_id}","starred_url":"https://api.github.com/users/smcardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcardle/subscriptions","organizations_url":"https://api.github.com/users/smcardle/orgs","repos_url":"https://api.github.com/users/smcardle/repos","events_url":"https://api.github.com/users/smcardle/events{/privacy}","received_events_url":"https://api.github.com/users/smcardle/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T20:29:15Z","updated_at":"2016-08-01T20:29:15Z","body":"Hi\r\n\r\n\r\nYou cannot just make a statement like this without pointing to some form of documentation that indicates that your comment is correct..\r\n\r\nFor instance the following link suggests otherwise.\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/button\r\n\r\nCheck the disabled property for <button /> on that page and it states for firefox ::\r\n------------------------------------------------------------------------------\r\ndisabled\r\nThis Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example <fieldset>; if there is no containing element with the disabled attribute set, then the button is enabled.\r\n\r\nFirefox will, unlike other browsers, by default, persist the dynamic disabled state of a <button> across page loads. Use the autocomplete attribute to control this feature.\r\n-------------------------------------------------------------------------------\r\n\r\nSo your comment as to buttons not inheriting their disabled state would seem to be incorrect.\r\n\r\nRegards\r\n\r\nSteven McArdle"}}
{"actor":{"display_login":"smcardle"}}