πŸ“Š React Js
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

πŸ‘οΈ
56
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate