Skip to content

Using angular-select2 with ES6  #52

@GuilleLeopold

Description

@GuilleLeopold

Well, I'm having some troubles with using select2 in Javascript ES6.

When I try to use it, i have an error message "TypeError: element.select2 is not a function.

I have installed angular-select2 with bower, then I imported with the ES6 syntax import and then i injected it in the module.

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