Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Restricting users to select Data has headers option #53

Open
sahanjith opened this issue Nov 18, 2021 · 1 comment
Open

Restricting users to select Data has headers option #53

sahanjith opened this issue Nov 18, 2021 · 1 comment

Comments

@sahanjith
Copy link

Hi,

Hats off to this awesome Library!

Currently is it possible to disable Data has headers option in preview import view?

I'm using this library for one of my projects where I want to import a CSV with a static format to process. This CSV has headers and will use same set of columns on each and every time. And I don't want user to allow ticking & unticking Data has Headers option and also I don't want them to enable undo & close buttons in select columns view.

Simply I don't want to allow user to do any changes, just want them to upload the file and import at one go since the CSV format is not changing.

image
image

@unframework
Copy link
Collaborator

Hey, thanks for the feature suggestion and for the kind words!

So basically in this "read-only" state the main usefulness of this library would be to e.g. show raw preview of data as well as column previews, right? I am thinking also that if a user uploads a file with misnamed columns should there be some kind of error message instead of e.g. allowing them to manually rematch columns?

Just trying to think of how to maybe swap out the entire selector step...

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

No branches or pull requests

2 participants