Categories
How to get previous value of select angularjs?
Hello! When calling ng-change, you also need to get the previous select value. How to do it?
Answer the question
In order to leave comments, you need to log in
Answer found!
$scope.$watch('obj.key', function(newValue, oldValue){ });
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question