TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
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
Forums
Monthly Leaders
Forum guidelines
niana sharma
NA
7
10.8k
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
)
Inheritance hierarchy
Blog is submitted but not approved