documentcloud/backbone — Issue #914: Is passing all attributes instead of the delta to validate really a good option?
Author: thedersen
Created: 2012-01-31 17:41:25+00:00
State: open

According to [this commit](https://github.com/documentcloud/backbone/commit/ab164c450da4d5c883d5b2b2817fa6a416a4b55a) the `validate` method now receives the computed new state of the attrs, not just the delta.

What this means is that there are no longer any way of knowing which attributes that has changed while performing validation, if I haven't missed something that is.

This is a problem when validating form input while the user is filling out the form. You usually do not want to validate form elements that has not been changed yet, but notify the user about errors on elements that has changed.

Maybe @jashkenas can comment on this?