Skip to content

Doesnt handle empty strings properly #26

@pierrec

Description

@pierrec

If the data set contains an array with an empty string as the first element, it doesnt behave as expected.

This is due to the way weld detects arrays (cf line 198).
A simple fix would be to have at line 198:
} else if (value.length && typeof value[0] !== 'undefined') {

instead of
} else if (value.length && value[0]) {

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions