Skip to content

strange results of model methods #1569

@ahoyahoy

Description

@ahoyahoy

Environment

playground

Reproduction

playground demo

Describe the bug

I noticed that my models have wrong data in the template when using $methods.
In the demo you can see the correct data at the top,
below that wrong data using the $getOriginal() method,
and the $isDirty() mark below, which is actually related to the fact that all the models in the upper section were overwritten from one (last) model to correct data and became dirty.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions