Answers for "javascript ng-change get previous value"

0

javascript ng-change get previous value

//user.id passed to updateValue will be old value
<select ng-change="updateValue('{{user.id}}')" 
        ng-model="user.id" ng-options="user.id as user.name for user in users">
</select>
Posted by: Guest on June-20-2019

Code answers related to "javascript ng-change get previous value"

Browse Popular Code Answers by Language