Skip to content

Numeric column names #237

Open
Open
@tobinski

Description

@tobinski

I try to upload data with numeric column headers. The dialog closes and is not usable anymore. In the console I see the following error.

TypeError: uploadColumnName.toLowerCase is not a function
    at csv-import-js.js?v=2934e6ee:48916:66
    at Array.some (<anonymous>)
    at isSuggestedMapping (csv-import-js.js?v=2934e6ee:48915:52)
    at csv-import-js.js?v=2934e6ee:48924:22
    at Array.find (<anonymous>)
    at csv-import-js.js?v=2934e6ee:48923:132
    at Array.reduce (<anonymous>)
    at csv-import-js.js?v=2934e6ee:48922:32
    at Object.qi [as useState] (csv-import-js.js?v=2934e6ee:4144:41)
    at Object.useState (csv-import-js.js?v=2934e6ee:495:28)

The problem is, that the Number type doesn't have a toLowerCase() function.

Metadata

Metadata

Assignees

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