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

Validation classes such as ng-pristine, ng-dirty, etc... #5

Closed
boltex opened this issue Apr 20, 2015 · 2 comments
Closed

Validation classes such as ng-pristine, ng-dirty, etc... #5

boltex opened this issue Apr 20, 2015 · 2 comments
Assignees
Milestone

Comments

@boltex
Copy link

boltex commented Apr 20, 2015

Thanks for this nice autocomplete control for ionic.

Are there ways to use those classes (ng-pristine, ng-dirty, etc...) to do some validation with this control?

@guylabs
Copy link
Owner

guylabs commented Apr 21, 2015

Hi Felix,

thanks for this good question: I think I need to change the directive restriction to C such that you can define the input field with the ion-autocomplete CSS class and use your ng-pristine, ng-dirty classes as well. What do you think about that ?

Thanks and regards,

Guy

@guylabs guylabs self-assigned this May 6, 2015
@guylabs guylabs added this to the 0.2.1 milestone May 6, 2015
@guylabs
Copy link
Owner

guylabs commented May 6, 2015

Hi Felix,

now you are able to use the ion-autocomplete with the element and the attribute restriction such that you are able to have your own input field with your validations and then just add the ion-autocomplete attribute. Can you maybe test your use case if you have the time before I do the release?

You can see the examples on how to use it here: https://github.com/guylabs/ion-autocomplete#usage

Thanks and regards,

Guy

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

No branches or pull requests

2 participants