derickbailey/backbone.modelbinding — Issue #51: data-bind to events, allowing isValid to be set silently
Author: thedersen
Created: 2012-01-03 22:43:55+00:00
State: open

Hi,

When using the data-bind feature to enable/disable for instance buttons using `` the isValid attribute has to be set on the model after validation is done. This causes two change events to be triggered. This is not always desirable since the model really hasn't changed just because validation is performed, and there should be a way to bind to the valid state of the model in some other way. (Please see [this discussion](https://github.com/thedersen/backbone.validation/issues/7) for more background).

Proposed suggestion is to allow for data-bind to bind to a specified event, instead of the default change event. Perhaps something like this ``.

-Thomas