-
Notifications
You must be signed in to change notification settings - Fork 176
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
How to pass multiple values into the function? #17
Comments
Hi @tammasr Thanks for pointing out this function. I will add it later 🍻 |
Hi @tammasr Thanks a lot |
I was able to fix it. Here is the modified code. Incase if you find it useful. Also i added couple of other RegEX validations. Thanks for the support. |
Hi @tammasr range: function (value, attrs) {
return (value >= attrs.min && value <= attrs.max);
} This is more simple , cheers 🍻 also, can you give me PR ? |
Hi,
Below is my validation function for range
May i know how to pass in the min and max values into this function?
Thanks!
The text was updated successfully, but these errors were encountered: