You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Add in form validation to prevent user from submitting wrong inputs.
This mostly pertains to the
numbertype fields which includepower,velocity,hatch_spacing.This should basically check that the input is a number value and display an error when it is not.
It should also disable the submit button if the form is not valid.
Here is a good library that I've found useful before
https://github.com/validatorjs/validator.js