How to Assign value with ng-change in angular js

后端 未结 2 1441
醉梦人生
醉梦人生 2021-02-05 10:18

I have simple drop-down bind with angular model


                        
    
提交评论

  • 2021-02-05 11:19

    Add a function to the scope that checks the condition and assigns the value if it is true. Simply call this function from ng-change.

    0 讨论(0)
  • 提交回复
    热议问题