Comments (12)
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.
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.
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.
Same issue here mine doesn't even download the file on chrome
from vue-json-excel.
I am also facing the same issue. Whats the solution for this?
from vue-json-excel.
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.
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.
same with me, no solution yet?
from vue-json-excel.
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.
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.
was useful thanks
from vue-json-excel.
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)
- export fields
- Is it possible to set column width or auto-width in the header? HOT 1
- [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. HOT 2
- Multi-Line in XLS files
- Export as csv garbled
- Is it possible to align everything to the center? With some PROP
- Loading state management not triggered
- The computed property "fields" is already defined as a prop.
- escapeCsv prop not working to eliminate =" value HOT 4
- This plugin does not support vue3 HOT 3
- This button cannot be disabled
- 在win11中导出异常
- json导出的文件其实是一个后缀.xls的html的文件 HOT 2
- Columns show as currecy
- [Bug] When I re-render the :fields property HOT 2
- scientific notation HOT 1
- How to modify component length?
- How add column No.
- Customize Headers HOT 1
- Excel Prompt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-json-excel.