Course Content
Expert React
Expert React
4. Formik
6. Next Steps
Challenge: Binding Formik with React Component
Task
Integrate Formik's built-in features into a React component. The goal is to handle form submission, track field changes, and update input fields accordingly. Instructions:
- Add the
onSubmit
prop to the form element and assign the correct prop value. - For each input element, add the
onChange
prop and assign the correct prop value. - Add the
value
prop to each input element and specify the correct prop value.
Everything was clear?