We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can Validation support some filters like trim and escape ? It would be fine like this:
{name: 'name', type: 'string', validation: 'required|length[1,20]|trim'}
The text was updated successfully, but these errors were encountered:
I find that in message demo that it can be done like this:
var input = document.getElementById('messageInput'), inputVal = input.value.trim();
I wonder if the filters like trim could be custom there?
trim
Sorry, something went wrong.
No branches or pull requests
Can Validation support some filters like trim and escape ?
It would be fine like this:
{name: 'name', type: 'string', validation: 'required|length[1,20]|trim'}
The text was updated successfully, but these errors were encountered: