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

$validators #27

Closed
ReinierGielen opened this issue Jan 20, 2015 · 1 comment
Closed

$validators #27

ReinierGielen opened this issue Jan 20, 2015 · 1 comment

Comments

@ReinierGielen
Copy link

As I understand it as from Angular 1.3 form validation is supposed to be done with the new $validators.
This is a special pipeline introduced for handling validations.

As xtForm 2.0 was rewritten for Angular 1.3 I expected this to be used but I do not see it in the source.
I am interested why this structure was not used in xtForm, as it works fine for me in my other directives.

@refactorthis
Copy link
Owner

Hey I don't need to jump in on the $validators or $parsers pipelines as I'm not adding any validation logic. I simply watch the $error object of a ngModel for change and when it changes redraw the errors.

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

2 participants