2
Answers

How should I Reset Dropdown boxes on form in Angularjs

Photo of niana sharma

niana sharma

6y
7.5k
1
Hi...I'm working on an application using angular js. Most of my forms utilize Dropdown boxes. The first time the form loads all of the selects have their default values, but if I load the form again the Dropdown boxes retain the values from the previous load. I've tried calling $setPristine() but this doesn't reset the dropdowns.
 
How should I go about resetting the dropdowns on each load?

Answers (2)