Form validation

Form validation

Form validation is a way to check if the data entered by the user is valid. Apollux provides a simple way to validate forms using the vee-validate and zod libraries.

Vee-validate provides vue components and composable to control fields and form whereas zod is a library to define schemas. In the example below, we show how both work with Apollux with a simple user profile form.

Note that you can totally remove those dependencies, Apollux and Shuriken components won't be affected.

Show code