Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advancedOptions do not seem to be used #60

Open
nyneplus opened this issue Apr 1, 2021 · 1 comment
Open

advancedOptions do not seem to be used #60

nyneplus opened this issue Apr 1, 2021 · 1 comment

Comments

@nyneplus
Copy link

nyneplus commented Apr 1, 2021

I have tried to use papa parse options like:

<download-csv
	class   = "btn btn-default"
	:data   = "results"  
       :advancedOptions ="{preview:2}"  
	name    = "planning.csv">

or as:

<download-csv  
	class   = "btn btn-default"  
	:data   = "results"  
       :advancedOptions ="opt"  
	name    = "planning.csv">  
(...)  
data :()=>({  
    opt:{preview:2}  
})

But it does not break after 2 lines. How should i use these advancedOptions?

@MuLoo
Copy link

MuLoo commented Apr 28, 2021

Because the links in the documentation are misleading,He is showing the config of the method parse, not unparse
The correct link is here, and there is no complete or error callback in this config.
@Belphemur hey dude,Can you modify it pls ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants