Open saravanakumarputta opened 7 years ago
The material-select
directive doesn't not watch the ng-disabled
attribute. It is therefore never notified that the disabled status has changed.
For now, i would suggest having 2 selects, one that is always disabled, and one that is always enabled. Then show one of the two depending on the value of checked
.
I'll mark this as an enhancement, since you want the material-select´ directive to watch for changes in
ng-disabled`. This should be somewhat straight-forward, so pull-requests are welcome.
I have a material select which binds the data using angular, on page load I disabled the Material select, on button click am enabling the material select.
Issue : Material Select is not enabled