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
πŸ’¬ Discuss
βœ… Correct Answer: (A) It sets a static initial value
Explanation: `defaultValue` sets the initial value for uncontrolled components.
Explanation by: Mr. Dubey
`defaultValue` sets the initial value for uncontrolled components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate