Coder Social home page Coder Social logo

Comments (12)

niravshah avatar niravshah commented on August 28, 2024 16

For me this was happening because I was using vee-validate. You can configure vee-validate to use a different name for the fieldsbag using the below syntax

Vue.use(VeeValidate, {
   fieldsBagName: 'vvFields'
});

from vue-json-excel.

jecovier avatar jecovier commented on August 28, 2024 2

hey guys, I see this is a frequent problem so I made a little change that don't breaks backward compatibility. "fields" is no longer a required prop and you can use either "fields", "export-fields" or "exportFields" to define the data you want to export. I hope this fix this issue, let me know otherwise. thank you for your help

from vue-json-excel.

imsyuan avatar imsyuan commented on August 28, 2024 1

hey guys, I see this is a frequent problem so I made a little change that don't breaks backward compatibility. "fields" is no longer a required prop and you can use either "fields", "export-fields" or "exportFields" to define the data you want to export. I hope this fix this issue, let me know otherwise. thank you for your help

Hi, I replace "fields" with "export-fields" or "exportFields" but I still get the same error message.

Here is the solution for me.

import Vue from 'vue'
import VeeValidate from 'vee-validate'

Vue.use(VeeValidate, {
  inject: true,
  fieldsBagName: 'veeFields'
});

bootstrap-vue/bootstrap-vue#1270 (comment)

from vue-json-excel.

Jeffrey-Kimani avatar Jeffrey-Kimani commented on August 28, 2024

Same issue here mine doesn't even download the file on chrome

from vue-json-excel.

paaysay avatar paaysay commented on August 28, 2024

I am also facing the same issue. Whats the solution for this?

from vue-json-excel.

jombard avatar jombard commented on August 28, 2024

I think there is a conflict with another component here. When I change the fields prop name to something else I don't get the warning. This would probably be a breaking change so not sure how to proceed. Any ideas?

from vue-json-excel.

abnerwang0991 avatar abnerwang0991 commented on August 28, 2024

I am also facing the same issue.
I guess the problem is caused by vee-validator, becuase it has 'fields' property.

from vue-json-excel.

pudjamansyurin avatar pudjamansyurin commented on August 28, 2024

same with me, no solution yet?

from vue-json-excel.

pudjamansyurin avatar pudjamansyurin commented on August 28, 2024

the solution for me, just hack the core, then find keyword 'fields' replace it to anything you want, ex 'json_fields'

from vue-json-excel.

higbdesign avatar higbdesign commented on August 28, 2024

hey guys, I see this is a frequent problem so I made a little change that don't breaks backward compatibility. "fields" is no longer a required prop and you can use either "fields", "export-fields" or "exportFields" to define the data you want to export. I hope this fix this issue, let me know otherwise. thank you for your help

Hi,
if I don't want to set the field prop (because I want export all the fields) how can I change the prop name?

from vue-json-excel.

MOHAMMED-ABD-RAZAQ avatar MOHAMMED-ABD-RAZAQ commented on August 28, 2024

was useful thanks

from vue-json-excel.

juanlopezdev avatar juanlopezdev commented on August 28, 2024

hey guys, I see this is a frequent problem so I made a little change that don't breaks backward compatibility. "fields" is no longer a required prop and you can use either "fields", "export-fields" or "exportFields" to define the data you want to export. I hope this fix this issue, let me know otherwise. thank you for your help

Hi, I replace "fields" with "export-fields" or "exportFields" but I still get the same error message.

from vue-json-excel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.