Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

Bug in _undefineValidationScope() #38

Closed
swift1 opened this issue Jul 20, 2015 · 4 comments
Closed

Bug in _undefineValidationScope() #38

swift1 opened this issue Jul 20, 2015 · 4 comments
Labels

Comments

@swift1
Copy link

swift1 commented Jul 20, 2015

Description of the problem:
vuejs/Discussion#288

Example:
https://jsfiddle.net/q7xcbuxd/19/

Solution:

      beforeDestroy: function () {
        this._undefineProperties()
       // this._undefineValidationScope()
      }

When commenting out this._undefineValidationScope() in vue-validator.js (line 390), everything works as normal.

@kazupon kazupon added the bug label Jul 20, 2015
@kazupon
Copy link
Owner

kazupon commented Jul 20, 2015

Thanks for your issue report.

I understand the cause.
This problem is caused by plugin bad design.
I'll fix by temporary way for now.
In next version 2.0, I'll try to implement full-scratch by new design (see #24)

@swift1
Copy link
Author

swift1 commented Jul 20, 2015

Thanks!

kazupon added a commit that referenced this issue Jul 23, 2015
@kazupon
Copy link
Owner

kazupon commented Jul 23, 2015

I fixed and release v1.3.3.
Please try it. 😃

@swift1
Copy link
Author

swift1 commented Jul 23, 2015

It works now. Thanks! :)

@kazupon kazupon closed this as completed Jul 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants