A

Admin • 833K Points
Coach

Q. What does `defaultValue` do in input elements?

  • (A) It sets a static initial value
  • (B) It changes the state
  • (C) It disables the input
  • (D) It binds the input to state
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

`defaultValue` sets the initial value for uncontrolled components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.