Vee-validate: data-vv-delay is not working

Created on 7 Feb 2017  路  4Comments  路  Source: logaretm/vee-validate

Versions:

  • VueJs: 2.1.10
  • Vee-Validate: 2.0.0-beta.22

Description:

The data-vv-delay directive is not working at all on this version. Tried versions 19, 20, 21 and they are all working.

Steps To Reproduce:

https://jsfiddle.net/Slaven/dto4u3ue/2/
this fiddle shows that data-vv-as works but the delay doesn't react even if it's passed in as an object in config

Most helpful comment

Best to remove this from your website though, because it still works there. Mine is broken now too since upgrade to the latest beta.

All 4 comments

Same for me as well.

It doesn't work with v-model because of new feature introduced "v-model" detection. I don't think that can be resolved as the plugin now watches for the model changes not the input, so effectively you are passing an arg if you use v-model. since the debounce feature was removed from Vue 2.0 you need to do it yourself. Like mentioned in 2.0's upgrade tips:

debounce deprecated, use v-on:input + 3rd party debounce function

Looks like I missed that part. Ill figure something out. Thanks for the quick reply!

Best to remove this from your website though, because it still works there. Mine is broken now too since upgrade to the latest beta.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

triffer picture triffer  路  3Comments

Shchepotin picture Shchepotin  路  3Comments

Hoagiex picture Hoagiex  路  3Comments

parweb picture parweb  路  3Comments

YamenSharaf picture YamenSharaf  路  3Comments