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.
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
andbootstrap-switch-null
. ChangedgetClasses()
to return only options whose values are not null.