Skip to content

ChosenListBox.wrap() leads to NPE #301

@JonR90

Description

@JonR90

Hi,

when I tried to wrap a SelectElement with a ChosenListBox there occured a NullPointerException in ChosenImplFactory (line 26).
The reason for this behaviour is that the ChosenOptions are not set when the ChosenListBox is created via ChosenListBox.wrap().

I would recommend to set the ChosenOptions initially with

"private ChosenOptions options = new ChosenOptions();"

in ChosenListBox (line 64).

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