Skip to content

using one of the props for v-model and access the same prop in the created hook, then first modification to the prop via v-model is reset #7434

@zongsheng-zhao

Description

@zongsheng-zhao

Version

2.5.13

Reproduction link

https://jsfiddle.net/wa3t63gy/

Steps to reproduce

select all the text in the text input, and then press backspace to delete it.

What is expected?

the text inside input should be deleted

What is actually happening?

the text inside input should be deleted, but restored immediately


not only the deletion, but also the modification will be reset, if it's the first modification

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