Skip to content

Request: add v-model.lazy for components #6914

@pdanpdan

Description

@pdanpdan

What problem does this feature solve?

v-model for components already supports .trim and .number.
Lazy modifier support for components would make it more uniform across the platform.

What does the proposed API look like?

The only change (backwards compatible) would be to add a new property to model definition:

model: {
  prop: 'value',
  event: 'input',
  eventLazy: 'change'
}

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