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

removed unbindInitialValue to allow new values keep watching#470

Open
aoga88 wants to merge 1 commit into
ghiden:masterfrom
aoga88:feature/remove-unbind-initial-value
Open

removed unbindInitialValue to allow new values keep watching#470
aoga88 wants to merge 1 commit into
ghiden:masterfrom
aoga88:feature/remove-unbind-initial-value

Conversation

@aoga88

@aoga88 aoga88 commented Feb 18, 2017

Copy link
Copy Markdown

When the watcher for initialValue is removed, if the value changes in the scope is not updated, so you get the latest value - 1, and that doesn't work if you are getting the initial value from a service hitting an API.

@aoga88

aoga88 commented Mar 15, 2017

Copy link
Copy Markdown
Author

@ghiden what do you think about this fix?

@jeffersondev

Copy link
Copy Markdown

Thanks for this solution @aoga88 =D
I applied it in my project and everything worked well
@ghiden you should approve this pull request ;-)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants