Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pdanpdan opened this Issue Oct 25, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@pdanpdan
Copy link
Contributor

pdanpdan commented Oct 25, 2017

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'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.