mdAutocomplete's "ng-disabled" attribute should support expressions
Perhaps I'm missing something, but why does mdAutocomplete specify a bi-directional binding for its isDisabled / ng-disabled attribute? Angular's ngDisabled directive supports expressions and it would be nice if the autocomplete directive did too. For example:
<md-autocomplete ng-disabled="conditionFoo || conditionBar">...</md-autocomplete>
Looking at the autocomplete directive, I don't see where the 2-way binding is being used for anything. Would you consider replacing it with an "@" binding and an attr.$observe? I'd be willing to submit a pull request but I thought I'd ask first. :)
+1
@bvaughn Definitely submit a PR for this. There are definitely still clean-up tasks needed for md-autocomplete, so one less task is always welcome. =)
@bvaughn scratch that, submitted a fix. =p
Haha, thanks Robert. I should have submitted one when I filed the ticket. Sorry! :)