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 2 RC1 - ion-item with ion-select does no longer have input state classes like ng-untouched #8935

Closed
DavidTalamona opened this issue Oct 27, 2016 · 2 comments

Comments

@DavidTalamona
Copy link

Short description of the problem:

Since the update to rc.0 / rc.1 the ion-item containing an ion-select does no longer have input state classes like ng-untouched.
Not 100% shure but I think they were there in beta.11, but they should be there anyway.

Item with ion-select looks like this:

<ion-item class="item-block item item-md item-label-fixed item-select">

While an item with ion-input looks like this:

<ion-item class="item-block item item-md item-label-fixed item-input ng-untouched ng-pristine ng-invalid">

Which Ionic Version? 1.x or 2.0.0-rc.1

Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.36
OS:
Node Version: v4.5.0

@DavidTalamona DavidTalamona changed the title ion-item with ion-select does no longer have input state classes like ng-untouched Ionic 2 RC1 - ion-item with ion-select does no longer have input state classes like ng-untouched Oct 27, 2016
@lucasbasquerotto
Copy link

The ion-item also doesn't reflect the states ng-valid and ng-invalid, so there is no border bottom, green or red, according to the state.

The same happens with ion-datetime and custom inputs.

See: https://forum.ionicframework.com/t/connect-my-custom-input-with-ion-item/84781

The inputs themselves have the correct state though, the problem is that the state is not reflected to the ion-item.

@ionitron-bot
Copy link

ionitron-bot bot commented Apr 5, 2018

Thanks for the issue! This issue is being closed due to inactivity. 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.

Thank you for using Ionic!

@ionitron-bot ionitron-bot bot closed this as completed Apr 5, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Apr 5, 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

3 participants