New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silent mode does not work any more for Model.set validation #1930
Comments
I think this change is deliberate. See commit 23cc302. The change log also mentions this. |
yeah i saw
but why? |
Because you shouldn't be able to force an invalid state into a model? You can still disable validation by temporarily detaching the validator now. I like the behavior in 0.9.9. It's less surprising. |
Related this pull #52 |
Yep -- it's an intentional change. Having a model in an "invalid" state, but still being able to Now it should be easier to use it for ensuring that your models are never able to enter an invalid state. If you just want an arbitrary |
https://github.com/documentcloud/backbone/blob/master/backbone.js#L573
Here is no more check for
silent: true
.So if i want to disable validation with
model.set(data, {silent: true});
i can not do this any moreThe text was updated successfully, but these errors were encountered: