Angular - ng-change not firing when ng-model is changed

后端 未结 4 1666
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 19:17

The input is the following:


The action() is exe

4条回答
  •  一个人的身影
    2020-12-15 19:30

    ngChange is just for the input, if you want to listen the model do like this

    $scope.$watch('repair.test', function(newvalue,oldvalue) {
    
                });
    

提交回复
热议问题