set HasHeaders to true by default #92
Unanswered
pbelouin-mpiwg
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Heyo, Thanks for trying out vue-csv-import! <vue-csv-toggle-headers :checkboxAttributes="{checked: true}" /> You can then take this one step further and hide the checkbox with some css: <vue-csv-toggle-headers :checkboxAttributes="{checked: true}" :labelAttributes="{style: 'display: none'}"/> For your other question about negating the mapper, that is not possible at this time, however the same trick of passing attrs is possible too. <vue-csv-map style="display: none"/> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I would like to set up the components so that it is implied that the uploaded CSV has headers - not sure exactly how to do this, I thought doing:
Would work, but this doesn't seem to do the trick!
Another question is, can I remove the map component, and just map the csv by default?
Thanks a lot in advance!
Beta Was this translation helpful? Give feedback.
All reactions