Closed arteme closed 8 years ago
The directive generates a button element, which gets class="disabled"
attribute set when the disable expression evaluated to true, but the button doesn't get disabled="disabled"
attribute. If that is added, it would work correctly.
With Angular 1.4.8 (or 1.2.1) and nya-bootstrap-select 2.1.2 disbling the select control using "disable" attribute disables the coltrol, but still allows the user to open the option list.
Given the following HTML:
And the following javascript:
The select control shows as disabled, but if you click on it, the options list still opens.
See this fiddle: https://jsfiddle.net/qt3p5e7n/2/