documentcloud/backbone — Issue #870: model.set: validate only when silent = false, why?
Author: wolfgang-adamec
Created: 2012-01-18 13:15:25+00:00
State: open

Hello!
With model.set I want to change my model, but I do not want events triggered, so I call "model.set" with silent=true.
But with this the validate function is not called.
Why?
Thanks alot
Wolfgang

current Backbone.js source code (0.5.3)
( set : function(key, value, options) {
...
// Run validation.
if (!options.silent && this.validate && !this._performValidation(attrs, options)) return false;)