Vee-validate: VeeValidate breaks the rest of vue devtools

Created on 13 Jan 2018  路  4Comments  路  Source: logaretm/vee-validate

Versions:

  • VueJs: 2.5.12
  • Vee-Validate: 2.0.2

Description:

If I use VeeValidate, I run into this error when i try to inspect (with vue dev tools) anything else than a component that actually uses VeeValidate:

Uncaught TypeError: Cannot read property 'type' of null
at backend.js:1
at x (backend.js:1)
at t.a (backend.js:1)
at Object.y (backend.js:1)
at e (backend.js:1)
at e (backend.js:1)
at e (backend.js:1)
at e (backend.js:1)
at Object.t.stringifyStrict (backend.js:1)
at Object.t.stringify (backend.js:1)

Steps To Reproduce:

Install Vue, Vue.use(VeeValidate) is enough to break vue devtools

Most helpful comment

@altinselimi 2.0.3 is out with the fix.

All 4 comments

I don't think this is an issue with vee-validate but rather the vue-devtools itself since it got a big update recently.

This issue https://github.com/vuejs/vue-devtools/issues/499 has been tagged as a bug roughly at the same time as you created this issue, so I guess it will be taken care of very soon. I will re-open if its not the case.

This issue can be fixed from vee-validate side but I'm awaiting clarifications regarding the cause of this issue in order to avoid it in the future.

@logaretm can you maybe push the fix and then do another commit when you get to know more about the issue here. This is a bit frustrating since its stopping me using vue devtools alltogether...

@altinselimi 2.0.3 is out with the fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HunterJS-bit picture HunterJS-bit  路  3Comments

schel4ok picture schel4ok  路  3Comments

triffer picture triffer  路  3Comments

MeltedFreddo picture MeltedFreddo  路  3Comments

Etheryte picture Etheryte  路  3Comments