Skip to content

Conversation

@gmmorris
Copy link

Fixed a bug where the computedState wasn't being passed correctly to the validation functions on preValidate (assuming this is the required behaviour, as it is the way the regular validate works), but rather it was passing the current model's attributes, without the fresh attributes passed to preValidate, essentially breaking validation functions which depend on computer state.

blikblum pushed a commit to blikblum/backbone.validation that referenced this pull request Apr 21, 2018
@blikblum
Copy link
Contributor

This is fixed in a fork i'm maintaining (tried contact this repository admins without luck): https://github.com/blikblum/backbone.validation

The updated package can be found at https://www.npmjs.com/package/backbone.validation

To use with node: npm install backbone.validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants