Bttstrp / bootstrap-switch

Turn checkboxes and radio buttons in toggle switches.
MIT License
5.08k stars 1.44k forks source link

Fix wrapper classes #719

Open samwoodrow opened 4 years ago

samwoodrow commented 4 years ago

Additional wrapper classes (based on options) were being generated by filtering out any option with a value. As a result the only option classes being added were bootstrap-switch-undefined and bootstrap-switch-null. Changed getClasses() to return only options whose values are not null.