Skip to content

Cannot detect change of array from checkbox v-model? #5398

@bigZ-again

Description

@bigZ-again

Version

2.2.6

Reproduction link

https://fiddle.jshell.net/whoisbigZ/ec11h6gj/2/

Steps to reproduce

I use deep watch to trace an object. See source code, it's very simple.

What is expected?

I hope the setter of v-model should notice deep watch. Why not?

What is actually happening?

But I found the vue cannot detect the array change from checkbox.


I know some caveats about detect the changes of array, but I just use v-model in checkbox.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions