Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Progressbar modifies outside object of max attribute #5373

@MartinNuc

Description

@MartinNuc

Today we dealt with issue that in one objects in our app appeared value 100 which triggered our watch although data were not loaded from server yet. We tracked this to progressbar where property of this object was used in max attribute. Progressbar modified object provided in max attribute.

Here is plunker reproducing issue: http://embed.plnkr.co/m5f9yz/

Progress bar uses object loaded from the server to set value and max. However referenced object is modified by default parameter (100) of progress bar until data are loaded from server.

Expected behaviour: Object used in max attribute should not be modified. Progress bar should use internal value to represent current max value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions