Skip to content

Order of multi-select tags not preserved. #18

@dannyvaughton

Description

@dannyvaughton

There seems to be an issue with the order of tags when using multi-select.

If I choose c, b, a (in that order) from menuOptions which are by default in this order (a, b, c & d), if the data is preserved and the component is re-loaded, the tags are in the order of the menuOptions (a, b, c) and NOT (c, b, a).

The issue arises in this function:

(It's the final reduce function).

export function validateSetValueParam(

I am not confident in changing this function as I'm not sure about the repercussions that I'm unaware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions