You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_.extend(Backbone.Validation.validators, {
greaterThan : function (value, attr, minValue, model) {
var val = parseInt(value, 10);
if (_.isNaN(val) || val <= minValue) {
return this.format("{0} must be greater than {1}",
this.formatLabel(attr, model), minValue);
}
}
}
Is an extension of the min attribute possible, which only allows greater?
The text was updated successfully, but these errors were encountered: