How to get the value of a field with ng-change

后端 未结 3 2076
遇见更好的自我
遇见更好的自我 2021-01-04 09:49

I know how to react to user input in a textarea with ng-change in AngularJS. But how can I get the current input inside the Angular controller? I am missing something like <

3条回答
  •  甜味超标
    2021-01-04 10:24

    You can make use of $event for getting value of current element. Something like this

    
    
    

提交回复
热议问题