Skip to content

Error when calling $validator.validate #26

Open

Description

@mplayer

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.

Activity

  1. hueitan commented on Aug 20, 2014

    @hueitan
    Contributor

    please list down your code otherwise nobody can help you

    code
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions