backbone.validation icon indicating copy to clipboard operation
backbone.validation copied to clipboard

A validation plugin for Backbone.js that validates both your model as well as form input

Results 82 backbone.validation issues
Sort by recently updated
recently updated
newest added

Related to issue https://github.com/thedersen/backbone.validation/issues/340

When using the label `labelFormatter`, the value of each label can only be a string: ``` javascript var Model = Backbone.Model.extend({ validation: { someAttribute: { required: true } }, labels:...

Once you check "I agree" to ON and Sumit it In the validation example page, backbone validation will remember the success result. Because there is some errors with other input...

The current regex for email validation allows invalid TLDs. Example, [email protected] passes the validation, but single-character TLDs are invalid. This creates an issue in our code, because our server side...

bug

As far as I can tell, [this single use of `_.include()`](https://github.com/thedersen/backbone.validation/blob/0ab7e3073841d9ed9dee96d38001cd5830bfe096/src/backbone-validation.js#L670) is the only thing keeping this from being compatible with lodash v4 (where it should be `includes()`). Note that...

var backbone = require('backbone'), _ = require('underscore'), validation = require('backbone-validation'); _.extend(backbone.Model.prototype, validation.mixin); i add a library on top of my express js code . Now how to set value and...

I forked the fiddle example by thedersen and changed `isValid(true)` to `isValid()`, so that I do not force validation on the entire model. http://jsfiddle.net/miphe/udXL5/513/ As I understand it, validation should...