Set CSS class on power-select


#1

I’m not sure if I’m missing something because in my earlier versions of this project (first with ember) this worked.

I need to set the CSS class of my ember-power-select addon

The “class” values seem to get ignored in this example

            {{#power-select
                class="form-control select2"
                selected=model.currency
                options=currencies
                onchange=(action (mut model.currency)) as |currency|}}
                {{currency.name}}
            {{/power-select}}

#2

You might want to either open an issue, or comment on the issue here: https://github.com/cibernox/ember-power-select/issues/541

It looks like they recently made the power-select component a tagless component…the class attribute would have no affect on it in that case.

And just because the timing here is spot-on: https://twitter.com/cowboyd/status/755015203847364608