question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Vue warn]: The computed property "errors" is already defined as a prop.

See original GitHub issue

Versions:

  • VueJs: 2.3.4
  • Vee-Validate: 2.0.0.-rc.5

Description:

Im using vee-validate together with vuetify.js<v-text-field></v-text-fied> and I’m getting this [Vue ward] error.

[Vue warn]: The computed property "errors" is already defined as a prop.

Steps To Reproduce:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

43reactions
logaretmcommented, Jun 10, 2017

Vuetify includes errors property on its input components, you should rename vee-validate’s errorBag name to something else.

http://vee-validate.logaretm.com/#configuration

Vue.use(VeeValidate, {
  errorBagName: 'vErrors'
});
0reactions
mhlanga-josephcommented, May 7, 2020

Thanks @logaretm worked for me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The computed property "counter" is already defined in data
When I click on the button, the counter should double the number of clicks displayed, but it's not working. This code is working...
Read more >
Property should be unique between Vue options - DeepScan
If duplicate property names are declared between the following Vue options, only one of them is used: props; computed; data; methods.
Read more >
Computed props - Vue Forum
vue.js:435 [Vue warn]: The computed property "blahblah" is already defined as a prop. I could duplicate all of them, to have the property ......
Read more >
How to solve [Vue warn]: The computed property "count" is ...
Recently, when writing a vue project, I found the following error in a project. vue.esm.js?5425:578 [Vue warn]: Property or method "counit" is not...
Read more >
Data property "collection" is already defined in Props problem?
[Solved]-Data property "collection" is already defined in Props problem?-Vue.js ... Probably the issue is that you have defined "collection" both in props and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found