-
Notifications
You must be signed in to change notification settings - Fork 431
async validation example? #156
Comments
I did find an example here https://github.com/vuejs/vue-validator/wiki/Usage-for-v0.12-later#async-validation but it appears to be out of date with the current release. |
Sorry, I don't implement the async validation yet in 2.0.0.alpha, because I'm developing from full scratch. |
No problem, glad you're working on it. What do you expect async-validation in 2.0 to look like? The 1.4* returned a plain function with (resolve, reject) arguments, but perhaps a straightforward Promise would be a more "natural" way of handling async. |
I'll support to the Promise and like v1.4* |
@kazupon any updates as to when you think async validation may be implemented in 2.0? |
@tylersnyder |
According to #10 async validation (using promises) was added to vue-validator in 1.4.0. However as of 2.0.0.alpha the README still has async as a TODO item and there is only a stub test and no working examples around.
Could you please confirm a) if async validation is now in vue-validator and b) where we can find an example with the current release version (2.0.0.alpha)?
The text was updated successfully, but these errors were encountered: