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?


Gowtham RamarRank #1,754 · 860 reputationPosted Apr 15, 2019, 5:02 AM EDT
Puneet KankarRank #446 · 5.6K reputationPosted Apr 15, 2019, 7:38 AM EDT