Skip to content

Conversation

kochizufan
Copy link

As README says in
https://github.com/thedersen/backbone.validation#do-you-support-conditional-validation
Conditional validation is allowed, but in preValidate method, it cannnot work.
So I make patch for it.

@cmcrothers
Copy link
Contributor

I had the same problem and can confirm that this patch works.

I also created a similar solution but without introducing additional parameters to the method

[f095b48]

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