Skip to content

Unable to watch nested data #3979

@allistera

Description

@allistera

Vue.js version

2.0.2

Reproduction Link

http://jsfiddle.net/2vqkLkjL/1/

Steps to reproduce

  • Create a component with a nested data property: Object, of an object containing an array.
  • Set up watcher for this property, specifying the deep flag.

What is Expected?

When the value of an array changes, the watcher runs

What is actually happening?

Watcher isn't getting triggered.

The code seemed to work fine in Vue 1.x.

Not 100% nested objects/arrays is the correct way for managing a view with lots of inputs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions