Skip to content

v-model doesn't work with computed setters on checkboxes? #3307

@kaptajnen

Description

@kaptajnen

It is not 100% clear from the documentation if this is supposed to work on for checkboxes. If not, I would like to know how to work around this issue.

Vue.js version

1.0.26

Reproduction Link

http://jsfiddle.net/p04dgeba/

Steps to reproduce

Set v-model on a checkbox to a computed property with a setter. Setter is not called.

What is Expected?

Setter should be called

What is actually happening?

Setter is not called

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions