Skip to content

Import with multiple tags #102

@Terrance

Description

@Terrance

The import template suggests multiple tags can be provided in a quoted, comma-separated list:

Name,Manufacturer,Model,Serial,Purchase Date,Purchase Price,Notes,URL,Warranty,Warranty Expiration,Lifetime,Secondary Warranty,Secondary Warranty Expiration,Tags,Quantity
Test Name,Test Manufacturer,Test Model,Test Serial,2025-07-03,123.45,Test Notes,https://example.com,Test Warranty,2025-07-03,false,Test Secondary Warranty,2025-07-03,"tag1,tag2,tag3",1

But each row is just naively split on commas, so the quotes are included verbatim and multiple tags don't currently work:

const row = dataRows[i].split(',');

In my case this leads to some surprising "Name is required" errors because it's looking in the wrong column (I'm trying to migrate an existing spreadsheet where the column best suited for tags is first, so commas there offset everything).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions