When using Angularjs, there is a more obvious bug ng-disabled invalid case
Here is a case of a bug
<Divclass= "checkbox Mlh-specval-item"Toggle-class= "Selected"Ng-class= "{' selected ': specv.selected = = 1}"ng-disabled= "{{specv.selected = = 1}}"Ng-click= "Togglespec (SPECINFO.K, SPECV.V)"> <I></I> <span>{{SPECV.V}}</span> </Div>
In this case the ng-disabled is invalid and the workaround
<type= "checkbox" class= "checkbox Mlh-specval-item" Toggle-class= "selected" ng-checked= "{{specv.selected = = 1}}" ng-disabled= "{{specv.selected = = 1}}" ng-click= "Togglespec (SPECINFO.K, SPECV.V) ">
Use the original control directly, do not apply Angularjs class= "checkbox Mlh-specval-item", there are other similar cases, such as button buttons, can not be used
You can also use a similar method, using native controls directly, in addition to the bootstrap style
This may be the ANGULARJS and bootstrap mixed use of the bug, the underlying reason is not traced, after all, I am a backstage
A little pit:
Angularjs as backstage or with ui-router, really egg ache, very waste of time, direct front desk use as a separate can
Angularjs about checkboxes and bootstrap cannot select bugs