Skip to content

(Multi)Select's selectByValue throws ReferenceError #1050

@Ri-gers

Description

@Ri-gers
MultiSelect<String> multiSelect = MultiSelect.<String>create()
    .appendChild(SelectOption.create("Item1"))
    .appendChild(SelectOption.create("Item2"))
    .appendChild(SelectOption.create("Item3"));
            
multiSelect.selectByValue("Item2"); // used to work, now throws Error
multiSelect.selectByKey("Item2"); // works

when calling selectByValue a ReferenceError is thrown. It used to work fine with 2.0.4. This happens with HEAD-SNAPSHOT version

Metadata

Metadata

Assignees

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