Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Add Initial Values | Formik
Expert React
course content

Course Content

Expert React

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.

Everything was clear?

Section 4. Chapter 11
We're sorry to hear that something went wrong. What happened?
some-alt