Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
MonthlyLeaders
ASK A QUESTION
Forumguidelines
niana sharma
2k
7
4.4k
How should I Reset Dropdown boxes on form in Angularjs
Apr 15 2019 6:33 AM
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?
Reply
Answers (
2
)
How to submit an Idea?
Regarding Conference