Bernardo-MG / painting-journal

Create and save paint palettes for your miniatures
Apache License 2.0
0 stars 0 forks source link

Add form validation in the frontend #18

Open Bernardo-MG opened 5 years ago

Bernardo-MG commented 5 years ago

Just the basic validations, mostly disallow sending empty data.

Disable the button when the form is invalid.

Bernardo-MG commented 5 years ago

https://goshakkk.name/form-recipe-disable-submit-button-react/

Bernardo-MG commented 4 years ago

https://jaredpalmer.com/formik

Bernardo-MG commented 4 years ago

https://medium.com/codefully-io/react-forms-validation-with-formik-and-material-ui-1adf0c1cae5c

Bernardo-MG commented 4 years ago

https://www.breathelife.com/building-a-scalable-form-in-react

Bernardo-MG commented 4 years ago

Added with formik. But it doesn't seem to be working correctly with dynamic forms.

It handles their values, but does not apply validation rules.