@RicardoFuentes437Submitted over 1 year ago
What do you guys think about the responsiveness? What do you think about the visual aspect of the page? does it look good? What are some practices that you think can be improved?
What do you guys think about the responsiveness? What do you think about the visual aspect of the page? does it look good? What are some practices that you think can be improved?
Hi ricardo... I see you have setup your form validation with yup but didn't implement it. You already installed formik so maybe you can do something like this.
const validationSchema = Yup.object().shape({ // Your validation schema });
const { values, errors, touched, handleChange, handleBlur, handleSubmit } =
useFormik({
initialValues: {
value1: "",
value2: "",
},
onSubmit: (event) => { // do something here },
validationSchema,
});