Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dropdown editor does not respect delimiter optionΒ #1792

@HtmlMak

Description

@HtmlMak

Hi πŸ‘‹

TL;DR; demo

It looks like the dropdown editor in Jspreadsheet CE does not support or properly handle the delimiter option.

When using a dropdown column with multiple selection enabled, changing the delimiter parameter does not affect the resulting cell value. The value is still joined using the default delimiter instead of the one provided in the configuration.

Expected behavior:

When setting a custom delimiter in the column configuration, the selected values should be joined using that delimiter.

Actual behavior:

The delimiter option has no effect. The resulting value always uses the default delimiter.

Example configuration:

{
    type: 'dropdown',
    multiple: true,
    delimiter: '|',
    source: ['A', 'B', 'C']
}

Selecting A and B still results in:

A,B

Instead of:

A|B

Jspreadsheet CE version: 5.0.4
Is this expected behavior, or is it a bug?

Thanks!

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