Per this question here, Vuejs: Computed property not updating the view, I am watching for changes to instances of moment.js, and the view does not update.
Here's an excerpt from the original code that does not work:
set(value) { this.paidFinish = this.paidFinish.hour(value); } Here's what I did to fix it:
set(value) { this.paidFinish = this.paidFinish.clone().hour(value); } Why does Vuejs not detect the changes? The object is being accessed via this, and the property paidFinish is present in the initial data. (Initially it is set to '', but when the component is mounted it is set to a moment.)