Kursinhalt
Expert React
Expert React
4. Formik
Powerful Form Library for ReactGet Started with FormikCustom Formik HookInvolve Formik into React componentAdd Initial ValuesForm SubmissionForm ValidationChallenge OverviewChallenge: useFormik HookChallenge: Binding Formik with React ComponentChallenge: Add Initial ValuesChallenge: Form SubmissionChallenge: ValidationFormik Section Sum Up
6. Next Steps
Challenge: Add Initial Values
Task
Initialize values for the input fields. Each input field should be assigned an initial value based on the value of the name
prop. Follow the steps below:
Follow the steps:
- Initialize the
firstName
field with an empty string. - Initialize the
lastName
field with an empty string. - Initialize the
mail
field with an empty string.
War alles klar?
Danke für Ihr Feedback!
Abschnitt 4. Kapitel 11