Vee-validate: RangeError: Maximum call stack size exceeded

Created on 29 Nov 2016  路  9Comments  路  Source: logaretm/vee-validate

Versions:

  • VueJs: 2.0.3
  • Vee-Validate: 2.0.0. beta 16

Description:

I'm getting this error after upgrading to beta 16.
Not sure that it's caused by vee-validate, but I believe it's the only delta in our code now.

the call stack is as follows:

Uncaught (in promise) RangeError: Maximum call stack size exceeded
at VueComponent.Vue.$emit (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:260:1), :2507:30)
at Validator.detach (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :867:26)
at ListenerGenerator.detach (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :2225:32)
at VueComponent.eval (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :1992:28)
at VueComponent.Vue.$emit (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:260:1), :2510:16)
at Validator.detach (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :867:26)
at ListenerGenerator.detach (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :2225:32)
at VueComponent.eval (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :1992:28)
at VueComponent.Vue.$emit (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:260:1), :2510:16)
at Validator.detach (eval at (http://denja-laravel.dev/build/js/app-a04a3f01eb.js:71:1), :867:26)

Steps To Reproduce:

Most helpful comment

I'm trying to locate more bugs and fix them before then, should be later today or tomorrow I hope.

All 9 comments

Yep that is my fault, It was caused by mistakenly triggering an event when detaching a field. It was fixed yesterday but not yet tagged, It was mentioned here #149

great to know I don't need to look any further! :-) looking forward to beta 17 :-)

we can close this then!

I'm trying to locate more bugs and fix them before then, should be later today or tomorrow I hope.

I can confirm this works now in beta17 :-)
Thank you.

When will 1.0.0-beta.11 be released on NPM? Including these fixes.

@imuller oh I forgot to publish it, should be up now.

This exists on version 1.0.0-beta11 as well. I have old 1.0 apps.

@rdpascua It has been a long time since I last updated Vue 1.0 version, which proved to be harder to maintain since Vue 2.0 has a very different API when it comes to directives, I will try to stabilize it if I find the time.

Was this page helpful?
0 / 5 - 0 ratings