Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation obliges me to redefine all validation settings when I only want to override "required" #134

Closed
fzaninotto opened this issue Nov 21, 2014 · 1 comment
Assignees
Labels

Comments

@fzaninotto
Copy link
Member

On a field instance, when I call .validation({ "required": true }), inputs are no longer accepted, because the maxLength is set to 0. It seems that the validation object passed to validation() doesn't extend the default one, but replaces it. It is a problem.

@fzaninotto
Copy link
Member Author

Fixed in #137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant