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 of disabled fields. #17

Closed
ReinierGielen opened this issue Sep 10, 2014 · 1 comment
Closed

Validation of disabled fields. #17

ReinierGielen opened this issue Sep 10, 2014 · 1 comment

Comments

@ReinierGielen
Copy link

I did a test where a validated field is disabled based on the value of another field.

In my test the disabled field was still validated which is not desirable.
Did I do something wrong ?

Otherwise I would like to suggest this as a new functionality: Don't validate a field when it is disabled.

@ReinierGielen
Copy link
Author

Solved this by adding ng-required with the same condition as on the ng-disabled.

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

No branches or pull requests

1 participant