From validation library
Hello guys, could you suggest me the best solution for form validation, desirable for Nuxt (like module. But this is optional)
9 Replies
Seems like there is Vuelidate library, but not sure that is the best solution, maybe some zod...
Not sure what your usecase is, it is not just validation library but check out FormKit: https://formkit.com/ .. its a blast working with
FormKit
FormKit β‘οΈ The open-source form framework for Vue
FormKit is a form framework for Vue that makes it easy to build forms with validation, data management, and more.
Nuxt integration
VeeValidate Nuxt module
loved vee-validate
GitHub
GitHub - LittleSound/slimeform: Form state management and validatio...
Form state management and validation for Vue3. Contribute to LittleSound/slimeform development by creating an account on GitHub.
but missing async validation
fornmKit is more as only validation
depends on the size or how much you have to use validation
for one input you should not install any of them
VueUse
Collection of essential Vue Composition Utilities
thanks for suggestions, i'd rather use vee-validate because of the good documentation, but the slime form looks nice too
yea but have in mind there is no async validator support currently
so you cannot make async validations