Vue-form-generator: The computed property "errors" is already defined in data.

Created on 28 Oct 2017  路  6Comments  路  Source: vue-generators/vue-form-generator

image

need more information need repro fiddle

Most helpful comment

Problem solved with:

Vue.use(VeeValidate, {
errorBagName: 'vErrors'
});

All 6 comments

@argueta15 can you provide a JSFiddle that reproduces this issue?

I have got the same error:

[Vue warn]: The computed property "errors" is already defined in data.

found in

---> <FieldInput>
       <VueFormGenerator>
         <VueJsModal> at /Users/yev.vlasenko2/Projects/vue/vue-js-modal/src/Modal.vue
           <ExcelReportFilter> at src/components/excelReport/ExcelReportFilter.vue
             <CreateExcelReport> at src/components/excelReport/CreateExcelReport.vue

Problem solved with:

Vue.use(VeeValidate, {
errorBagName: 'vErrors'
});

In my case issue was resolved with:

Vue.use(require('vee-validate'), { inject: false });

Is there any alternative that won't require adjusting all my components using veevalidate?

Providing the ability to rename the error prop when initializing the form generator component in the same way vee-validate does would be ideal. Vue.use(VueFormGenerator, { errorBagName: 'vErrors'});

Hi guys,
I get this error in vee-validate "vee-validate": "^3.0.11"

[Vue warn]: The computed property "errors" is already defined in data.

found in

---> <ValidationObserver>
       <LoginForm> at components/auth/forms/login_form.vue
         <Pages/auth/login.vue> at pages/auth/login.vue
           <Nuxt>
             <Layouts/auth.vue> at layouts/auth.vue
               <Root>

please help me to resolving this issue. thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ndro picture ndro  路  4Comments

reardestani picture reardestani  路  5Comments

pimhooghiemstra picture pimhooghiemstra  路  5Comments

blackfyre picture blackfyre  路  4Comments

jaywilburn picture jaywilburn  路  3Comments