Error in mounted hook: "TypeError: this.$scopes[scope][fieldName] is undefined"
See original GitHub issueVersions:
- VueJs: v2.3.2
- Vee-Validate: v2.0.0-rc.2
Description:
My form is defined as follows (code snippet):
<Input name = "user.id">
It will report an error note:
[Vue warn]: Error in mounted hook: "TypeError: this. $ Scopes [scope] [fieldName] is undefined"
but it still can work normally.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
vue.js - VueJS - Error in mounted hook: "TypeError: this.$store ...
The full error is [Vue warn]: Error in mounted hook: "TypeError: this.$store is undefined" . I've even got it narrowed down to a...
Read more >Error in mounted hook: "TypeError: Cannot read property '$el ...
It looks like this is not correctly defined in mounted hook. ... in mounted hook: "TypeError: Cannot read property '$el' of undefined" #107....
Read more >Error in mounted hook: "TypeError: message is undefined"
I have an issue with FormValidator. I have this error in the console : Error in mounted hook: "TypeError: message is undefined".
Read more >error in mounted hook: "typeerror: cannot read properties of ...
Here's an example of a JavaScript TypeError: Cannot read property of undefined thrown when a property is attempted to be read on an...
Read more >[Vue warn]: Error in created hook: (found in <CheckoutForm ...
[Vue warn]: Error in created hook: (found in <CheckoutForm>) TypeError: Cannot read property 'email' of undefined. Hey :).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome thank you! I love the library so far
I am also seeing this issue as soon as I add the
name
attribute ordata-vv-name
.Error in mounted hook:
(I don’t even have a mounted hook in this component.)Cannot read property 'events' of undefined
<textarea v-validate="'required'" data-vv-name="nutriqForm.data.concernOne" data-vv-as="Health Concern 1" class="form-control" placeholder="Health Concern 1" rows="2" v-model="nutriqForm.data.concernOne"/>