{"action":"created","issue":{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/99","repository_url":"https://api.github.com/repos/leocaseiro/angular-chosen","labels_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/99/comments","events_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/99/events","html_url":"https://github.com/leocaseiro/angular-chosen/issues/99","id":56011676,"number":99,"title":"Chosen input not disabled when within a disabled fieldset","user":{"login":"cwmrowe","id":407167,"avatar_url":"https://avatars.githubusercontent.com/u/407167?v=3","gravatar_id":"","url":"https://api.github.com/users/cwmrowe","html_url":"https://github.com/cwmrowe","followers_url":"https://api.github.com/users/cwmrowe/followers","following_url":"https://api.github.com/users/cwmrowe/following{/other_user}","gists_url":"https://api.github.com/users/cwmrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/cwmrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwmrowe/subscriptions","organizations_url":"https://api.github.com/users/cwmrowe/orgs","repos_url":"https://api.github.com/users/cwmrowe/repos","events_url":"https://api.github.com/users/cwmrowe/events{/privacy}","received_events_url":"https://api.github.com/users/cwmrowe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/labels/help%20wanted","name":"help wanted","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-30T09:29:33Z","updated_at":"2016-03-23T04:14:22Z","closed_at":null,"body":"A chosen input should be disabled when within a fieldset element that is disabled.\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset#attr-disabled"},"comment":{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/comments/200165812","html_url":"https://github.com/leocaseiro/angular-chosen/issues/99#issuecomment-200165812","issue_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/99","id":200165812,"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-03-23T04:14:22Z","updated_at":"2016-03-23T04:14:22Z","body":"Another solution is create a directive to watch the ng-disabled from any fieldset:\r\n```javascript\r\n\r\napp.directive('fieldset', function () {\r\n    return {\r\n        restrict: 'E',\r\n        link: function (scope, element, attrs) {\r\n\r\n            if (angular.isUndefined(element.prop('disabled'))) { //only watch if the browser doesn't support disabled on fieldsets\r\n                scope.$watch(function () { return element.attr('disabled'); }, function (disabled) {\r\n                    element.find('input, select, textarea').prop('disabled', disabled)\r\n                });\r\n            }\r\n        }\r\n    }\r\n});\r\n```\r\n\r\nI found it [here](http://stackoverflow.com/a/24376794/3415716)"}}