I'd like to do model.set(...) during the "change" event - some model attributes must be in sync: e.g. I have a budged that can cover a number of products but if I change the budget, the number of products must be updated and vice-versa. I've tried disabling the "change" event (i.e. model.off('change');) and then enable it after model.set(...), i.e. model.on('change', callbackFunction); , but I the change event handler/callback is still called.
What is the best approach for updating the model in the changed handler/callback?