How to bind 2 models to one input field in Angular?

后端 未结 4 1973
南笙
南笙 2020-11-30 21:59

Is there anyway that I can bind two model values to one input field?

Suppose I have input field which I want to be the value of two variables in the scope something

4条回答
  •  孤城傲影
    2020-11-30 22:38

    You can bind fields immediately, not only in ng-change, and actually it isn't data binding, its only angular expression

      
      
    
      
      

提交回复
热议问题