Skip to content

"event" variable should be instantiated for every component instance #92

@petyunchik

Description

@petyunchik

I'm submitting a ...

  • bug report
  • feature request
  • support request

What is the current behavior?

All instances of the component are using same component-wide variable event:

It should not be so, because if you instantiate multiple components with different "mode" options, every instance will override this variable for all other instances.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Instantinate two instances of the component inside the page - first in select-mode, second in input-mode and select-mode component will work as input-mode.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomersminorThis is a thing to include in the next minor releaseresolvedThis issue is resolved in the latest version

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions