How to delay the Vuejs v-model?

Asked

Viewed 135 times

3

So that the information is changed when the field focus is out, and not as you type.

  • Who is alive always appears :)

  • I came back, here is my place :D

2 answers

4

The same can be obtained by the attribute lazy

Example:

<input v-model="msg" lazy>

1

If you are using Vue.js version 2.x. x, Lazy is no longer a property and has become a modifier. Then try <input v-model.lazy="msg">.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.