πŸ“Š Angular
Q. Which method resets a reactive form in Angular?
  • (A) clear()
  • (B) resetForm()
  • (C) reset()
  • (D) clearForm()
πŸ’¬ Discuss
βœ… Correct Answer: (C) reset()

Explanation: The `reset()` method clears the form and resets all fields to default values.

Explanation by: Mr. Dubey
The `reset()` method clears the form and resets all fields to default values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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