backbone.validation
backbone.validation copied to clipboard
Make *length validations work with array
This is a need I have in one of the app I'm currently developing. Basically, my User
model has a permissions
attribute, which is an array. I need to be able to validate that users have at least 1 permission.
What do you think ?