Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Asynchronous validation broken with Angular 1.2.0-rc2 #120

Closed
andreas-gruenbacher opened this issue Oct 6, 2013 · 1 comment
Closed

Comments

@andreas-gruenbacher
Copy link

For asynchronous validation, the expression bassed to ui-validate is supposed to return a promise. The ui.validate module uses scope.$eval to evaluate expressions. Unfortunately, since this commit:
angular/angular.js@3a65822

Angular no longer allows promises to be returned from $eval.

Also discussed here:
angular-ui/angular-ui-OLDREPO#257

Also, ui-tools are missing a test case for asynchronous validation.

@PowerKiKi
Copy link
Contributor

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-validate

See the README for details.

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

No branches or pull requests

2 participants