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

<ion-select> doesn't set input-has-value class #10751

Closed
imgx64 opened this issue Mar 13, 2017 · 2 comments
Closed

<ion-select> doesn't set input-has-value class #10751

imgx64 opened this issue Mar 13, 2017 · 2 comments

Comments

@imgx64
Copy link
Contributor

imgx64 commented Mar 13, 2017

Ionic version:
[x] 2.x

I'm submitting a ...
[x] bug report

Current behavior:
When an <ion-select> has a selected value, it doesn't set the input-has-value class on the surrounding <ion-item>. Other inputs such as <ion-input> and <ion-datetime> set that class when they have a value.

Expected behavior:
<ion-select> should set the input-has-value class on the surrounding <ion-item> when it has a selected value.

Steps to reproduce:
See this plunker:
http://plnkr.co/edit/YM9m1E8F1AonrQhfYx44?p=preview

You'll notice that the .input-has-value { color: #FF0000;} style does not apply to the <ion-select> even though it has a value.

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

 ordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.5
Xcode version: Not installed
@jgw96
Copy link
Contributor

jgw96 commented Mar 13, 2017

Thanks for opening an issue with us, we will look into this.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 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 3, 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