Angular JS update input field after change

前端 未结 5 1568
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 20:26

I\'m trying to build a simple calculator in Angular in which I can override the total if I want. I have this part working but when I then go back to enter in a number in fields

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 21:09

    You just need to correct the format of your html

  • Number 1:
  • Number 2:
  • Total
  • {{total()}}

    http://jsfiddle.net/YUza7/105/

提交回复
热议问题