I have a checkbox which remains disabled until a certain condition is met. I'd like to show a popover with the information why the checkbox is disabled, but it seems like bootstrap's doesn't register click events on a disabled checkbox. is there a work-around for this?
checkbox without popover:
<p><input type="checkbox" id="(checkbox+{{$index}})" ng-model="step.flow_step.type" ng-true-value="'BranchingPoint'" ng-false-value="'LabeledBehavior'" ng-init="step.flow_step.type='LabeledBehavior'" ng-disabled="alternative.length==0" /><label for="(checkbox+{{$index}})"><span class="ui"></span>Branch?</label></p>
Aucun commentaire:
Enregistrer un commentaire