Skip to content

v-model.lazy is not updating the value of an input when it has a focus #6564

Closed
@Ryokusitai

Description

@Ryokusitai

Vue version

after 3.2.0-beta.5

Link to minimal reproduction

https://jsfiddle.net/jtsacqey/24/

Steps to reproduce

  1. Type Jacob into the input.
  2. Hit enter.

same as vuejs/vue#8346

What is expected?

Value property of the input element should be changed to Joseph, as was the value of the name property in the Vue instance.

What is actually happening?

Value property of the input element is not being changed.

System Info

No response

Any additional comments?

The value of the input is correctly being updated when using v-model without .lazy modifier.
3.2.0-beta.4 does not have this bug.
This bug occurs since 3.2.0-beta.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingscope: v-model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions