angular-validator icon indicating copy to clipboard operation
angular-validator copied to clipboard

Error when calling $validator.validate

Open mplayer opened this issue 12 years ago • 1 comments

when using the I get the $validator.validate method following error

TypeError: Cannot read property '$$hashKey' of undefined at angular.module.directive.link.isAcceptTheBroadcast (http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:219:86) at http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:225:18 at Scope.$get.Scope.$broadcast (http://localhost:9000/bower_components/angular/angular.js:12887:28) at Object.validate (http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:550:15) at Scope.$scope.submitTierRequest (http://localhost:9000/module/member/wizard/contract-confirmation-controller.js:74:24) at Parser.functionCall (http://localhost:9000/bower_components/angular/angular.js:10773:21) at http://localhost:9000/bower_components/angular/angular.js:18981:17 at Scope.$get.Scope.$eval (http://localhost:9000/bower_components/angular/angular.js:12608:28) at Scope.$get.Scope.$apply (http://localhost:9000/bower_components/angular/angular.js:12706:23) at Scope.ng.config.$provide.decorator.$delegate.proto.$apply (:855:30)

when debugging the code I notice the scode variable does not have the object I am using for the fields.

mplayer avatar Aug 20 '14 02:08 mplayer

please list down your code otherwise nobody can help you

code

hueitan avatar Aug 20 '14 02:08 hueitan