Skip to content

Options are shared between instances #8

@patric-eberle

Description

@patric-eberle

When creating a new FetchManager instance, it's options are shared between all forms on the page (later forms overwrite previous ones). This happens because Object.assign(target, ...sources) does not create a new object but extends the existing default value object.

this.options = Object.assign(FETCH_MANAGER_DEFAULTS, options);

Pull request: #7

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions