Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

setValue does not work properly with integer type of array #134

@agilasadi

Description

@agilasadi

When the array elements are integers such as [1,2,3,4] which is still a javascript array, the setValue will not work. In that case, I had to manually map it as myArray.map(String) before using.

I would also appreciate being able to set selected directly into the option while looping through it in the HTML, because the value is often has a different key name than the package is offering, so in that case I also have to convert my data to something that fits well with package if I would like to set data through javaScript.

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