Open tommybravo opened 6 years ago
There are times when you don't want your model to update on every "input" event, "change" events would do the trick. VueJS itself has the "lazy" modifier for v-model that seem to not work in custom components.
An additional "lazy" prop for input elements.
Will this be part of the 2.0?
Duplicate of https://github.com/vuejs/vue/issues/6914
Problem to solve
There are times when you don't want your model to update on every "input" event, "change" events would do the trick. VueJS itself has the "lazy" modifier for v-model that seem to not work in custom components.
Proposed solution
An additional "lazy" prop for input elements.