Skip to content

Vue doesn't respect existing setters on Modelclasses #6845

@kaipaysen

Description

@kaipaysen

Version

2.5.0

Reproduction link

https://codesandbox.io/s/vjojnn5w7l

Steps to reproduce

  1. Run the attached Sample
  2. enter a Value for _bar
  3. see that bar is changed as well
  4. enter a value for bar
  5. see that bar is now detached from _bar

What is expected?

The existing setter "bar" should be used.

What is actually happening?

A new property "bar" is created.

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