Backbone.js: avoid view→model→view double conversion

后端 未结 3 693
庸人自扰
庸人自扰 2021-02-15 17:34

I’m trying to build this:

When I edit field on the left it should update the one on the right and vice-versa.

  • Editing a value in an input field cause

3条回答
  •  猫巷女王i
    2021-02-15 17:43

    set a variable at the view level where you hold the input field that started the conversion, so you don't call the conversion function on that field.

提交回复
热议问题