joaoneto / angular-bootstrap-select

DEPRECATED DON'T USE - Directive to wrap bootstrap-select
105 stars 81 forks source link

restrict option in directive should include class #18

Closed michahell closed 9 years ago

michahell commented 10 years ago

I have installed the module using bower, and i could not get it to work. I double checked everything a couple of times, and then i looked at the source. in both the toggle and selectpicker directive the restrict parameter should include 'C' as the examples indicate a classname should be used to invoke the directive. That means that:

restrict: 'A'

should become

restrict: 'AC'

Or is this something specific to my use case and should it work out of the box?