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

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