csv-import icon indicating copy to clipboard operation
csv-import copied to clipboard

Numeric column names

Open tobinski opened this issue 6 months ago • 0 comments

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.

tobinski avatar Aug 01 '24 10:08 tobinski