Closed filipsobol closed 4 years ago
Anything async is inherently complex implementation-wise and it would be best to isolate it in async setup
for all possible cases. I don't see enough benefit to justify async validators when this can be done in userland.
Hi,
With
Suspense
introduced in Vue 3, is it possible to add support for custom async props validation?One example use case is similar to the one from Vuelidate documentation:
Another one would be validate method from
vee-validate
library, which returns a Promise.