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

fieldSeparator property not working #96

Closed
ZeroKaa opened this issue Apr 8, 2024 · 2 comments
Closed

fieldSeparator property not working #96

ZeroKaa opened this issue Apr 8, 2024 · 2 comments
Labels

Comments

@ZeroKaa
Copy link

ZeroKaa commented Apr 8, 2024

Describe the bug
I try to replace the default fieldSeparator by ";" but the output still use ","

To Reproduce

const config = mkConfig(
{
useKeysAsHeaders: true,
fieldSeparator: ";",
showColumnHeaders: false,
filename : "xxxxxxxxx.xsv"
}
);

download(config)(data);

Expected behavior
I expect the downloaded file to have field separated by a ";"

@alexcaza
Copy link
Owner

Could you share which version of the library and which browser(s) you're running? I can't replicate this behaviour.

Here's a stackblitz example running v1.2.4: https://stackblitz.com/edit/vitejs-vite-e1whts?file=src%2Fmain.ts

@alexcaza
Copy link
Owner

I'm going to close this for now since I can't reproduce it. If the issue persists or comes back, feel free to open another issue with more details 😄

@alexcaza alexcaza closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants