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

Progressbar modifies outside object of max attribute #5373

Closed
MartinNuc opened this issue Feb 1, 2016 · 0 comments
Closed

Progressbar modifies outside object of max attribute #5373

MartinNuc opened this issue Feb 1, 2016 · 0 comments

Comments

@MartinNuc
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants