Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic2 select alterOptions cssClass not Work #7032

Closed
wenner opened this issue Jun 24, 2016 · 1 comment
Closed

ionic2 select alterOptions cssClass not Work #7032

wenner opened this issue Jun 24, 2016 · 1 comment

Comments

@wenner
Copy link

wenner commented Jun 24, 2016

in select compnent , i set alertOptions attribute like {cssClass:"myclass"} , it not work!
and i view the code , in components/select/select.ts

line 280

  alertOptions.cssClass = 'select-action-sheet';

line 302

  if (this._multi) {
    // use checkboxes
    overlay.setCssClass('select-alert multiple-select-alert');

  } else {
    // use radio buttons
    overlay.setCssClass('select-alert single-select-alert');
  }

in the code , will override cssClass in the alterOptions

same bug like this:
#6835 Ionic 2 Alert Bug: setCssClass overrides existing css classes

@jgw96
Copy link
Contributor

jgw96 commented Jun 24, 2016

Hello, thanks for opening an issue with us! This will actually be fixed by issue #6835 so i will be closing this issue as a duplicate. Thanks for using Ionic!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants