-
Notifications
You must be signed in to change notification settings - Fork 665
setData() doesn't trigger watcher #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the bug report 😀 I've added a fix in the dev branch. It will be released in beta.5 |
Same issue here using setComputed(). It is related? |
Yes :P, sorry. Can you make a new issue @disitec |
@eddyerburgh has the |
If not then i'll open an issue |
+1 |
Sorry for the delay guys, I saw this an forgot to reply. I've updated setComputed to run the correct watchers. It'll be released in beta.7 in the next couple of days 🙂 |
I have a component that watches a data object
suggestions
. When I mount the component and then callwrapper.setData({ suggestions: [] });
the watcher does not fire, as I put aconsole.log
on the watcher to verify. If I set the watcher to be "immediate: true" then it will fire once. Is there something else I should do to trigger the watcher in a testing environment? I triedwrapper.vm.$nextTick
to no avail.The text was updated successfully, but these errors were encountered: