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

Error: 'null' is not an object (evaluating 'xtFormCtrl.validators.hasValidator') #3

Closed
faisalferoz opened this issue Mar 6, 2014 · 2 comments

Comments

@faisalferoz
Copy link

When destroy method is called it ends up with the above error. Here is the relevant code (line:289):

element.on('$destroy', function() {
          if (xtFormCtrl.validators.hasValidator(attrs.name)) {
            xtFormCtrl.validators.deregisterValidator(attrs.name);
          }
        });
@faisalferoz faisalferoz mentioned this issue Mar 6, 2014
@marcoramires
Copy link

Great plugin but this is a big blocker. Well... I added it into the project without using bower for now. Hopefully it will be fixed soon. ;)

@ReinierGielen
Copy link

Having the same problem.
Indeed great plugin.

Found the fix for issue#3, but this has not been incorparated in the download yet !!

refactorthis pushed a commit that referenced this issue Sep 9, 2014
 - #3 destroy handler throwing null error
 - #8 removed hard dependency on jquery and bootstrap
refactorthis added a commit that referenced this issue Jan 11, 2015
 - #3 destroy handler throwing null error
 - #8 removed hard dependency on jquery and bootstrap
refactorthis added a commit that referenced this issue Jan 11, 2015
 - #3 destroy handler throwing null error
 - #8 removed hard dependency on jquery and bootstrap
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

4 participants