semanux / interaction-collection

MIT License
1 stars 1 forks source link

Form validation #7

Closed raphaelmenges closed 2 years ago

raphaelmenges commented 2 years ago

Check different form validation plugins to be compatible with Vue3 composition API:

raphaelmenges commented 2 years ago

People seem to prefer vee-validate over vuelidate: https://www.reddit.com/r/vuejs/comments/emcsoa/veevalidate_vs_vuelidate

raphaelmenges commented 2 years ago

vee-validate has an extensive composition-based API: https://vee-validate.logaretm.com/v4/guide/composition-api/validation

irahulcse commented 2 years ago

There is a method through which we can also the implement the form validation.

https://codesandbox.io/s/vee-validate-v4-custom-field-labels-with-yup-qikju?from-embed=&file=/src/App.vue:872-878

raphaelmenges commented 2 years ago

The current status of https://github.com/semanux/interaction-collection/tree/poc-new-vee-validation looks fine to me. We now know how to validate forms. Therefore we can close the issue.