Skip to content

CSV importer: confusing behaviour of checkboxes #4299

@wetneb

Description

@wetneb

In the configuration options for the CSV/TSV importer, two checkboxes are linked as if one of them had to be checked.

This is a bad pattern: if those checkboxes are really meant to be grouped, then they should be radio buttons and be positioned next to each other.

To Reproduce

Steps to reproduce the behavior:

  1. First, open a CSV/TSV file
  2. Then, click on the "Parse next 1 lines as column headers"

Current Results

import_options

Expected Behavior

In this case I was actually trying to get both checkboxes to be not checked (so that my project gets created with Column 1, Column 2… as column headers). I can achieve this by keeping the Parse next… checkbox on and setting the number of lines to 0 but that is a bit counter-intuitive.

Versions

  • Operating System: Debian
  • Browser Version: Firefox
  • JRE or JDK Version: 11
  • OpenRefine: master (3.6 SNAPSHOT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Module: FrontendThese issues involve working on HTML, CSS, and JavaScript code that affects the user interface.Type: BugIssues related to software defects or unexpected behavior, which require resolution.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions