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

[ionic v4] ion-searchbar color property not applied #14998

Closed
rjammart opened this issue Aug 2, 2018 · 1 comment
Closed

[ionic v4] ion-searchbar color property not applied #14998

rjammart opened this issue Aug 2, 2018 · 1 comment
Assignees

Comments

@rjammart
Copy link

rjammart commented Aug 2, 2018

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x] 4.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request

Current behavior:

Setting a color property on has no effect.
Expected behavior:

Setting a color property on the component should change is color.
Steps to reproduce:

  1. create a new app with ionic cli (ionic start myApp --type=angular)
  2. add the searchbar with the color property on home.page.html
<ion-content padding>
  <ion-searchbar color="danger"></ion-searchbar>
  The world is your oyster.
  <p>If you get lost, the <a target="_blank" href="https://ionicframework.com/docs">docs</a> will be your guide.</p>
</ion-content>

Related code:

<ion-content padding>
  <ion-searchbar color="danger"></ion-searchbar>
  The world is your oyster.
  <p>If you get lost, the <a target="_blank" href="https://ionicframework.com/docs">docs</a> will be your guide.</p>
</ion-content>

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here
Ionic:

   ionic (Ionic CLI)          : 4.0.2 (/Users/rja/.nvm/versions/node/v8.11.2/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

System:

   NodeJS : v8.11.2 (/Users/rja/.nvm/versions/node/v8.11.2/bin/node)
   npm    : 5.6.0
   OS     : macOS High Sierra

@ionitron-bot ionitron-bot bot added triage and removed triage labels Aug 2, 2018
@manucorporat manucorporat self-assigned this Aug 2, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 2, 2018
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

2 participants