Versions
- vee-validate: 4.0.0-alpha.6
- vue: 3.0.0-rc.5
Describe the bug
Using vue-route, if I change route from a view with a form to another one in console comes out this error.
Uncaught (in promise) TypeError: Cannot read property 'indexOf' of undefined
at Object.unregister (vee-validate.esm.js:741)
at vee-validate.esm.js:429
I think the problem is here, if the field has field.idx === -1 the object value will be deleted but the line after indexOf is called using that deleted value
Versions
Describe the bug
Using vue-route, if I change route from a view with a form to another one in console comes out this error.
I think the problem is here, if the field has
field.idx === -1the object value will be deleted but the line afterindexOfis called using that deleted value