DEV Community

Discussion on: How do you build Forms?

Collapse
 
ninest profile image
ninest

What is your method of dealing with form errors such as "Invalid username", or "Password too short"? For small forms it's easy to display the error underneath the input, but doesn't this get difficult to manage as the form gets larger and more complex? For this reason I decided to experiment with VeeValidate

Collapse
 
cwraytech profile image
Christopher Wray

Yeah, in those cases it is nice to use a package like that.. I would still build the form fields and data attributes myself, but use vue validate on the fields for validations.