jpkleemans / angular-validate

Painless form validation for AngularJS. Powered by the jQuery Validation Plugin.
MIT License
68 stars 33 forks source link

validate() not equal #2

Closed bobmulder closed 8 years ago

bobmulder commented 8 years ago

I just note something - not really important - when using this awesome stuff.

Instead of the validate() method of the jQuery validator (http://jqueryvalidation.org/validate), the validate() method here can't understand parsed options.

The jQuery validator suggest that the following is possible:

$(".selector").validate({
  debug: true
});

The validate() method of angular-validate can't do that, but options can only parsed via $scope.validationOptions. I think it should be mentioned better, or implemented ;)

jpkleemans commented 8 years ago

Thanks. I've fixed this in a2822ad

bobmulder commented 8 years ago

:+1: