Comments (6)
I had the same problem. After reading the code, I found out that the documentation is out-of-date or wrong. It's:
Checkit.Validator.prototype.myCustomValidator = function(val) { ... }
from checkit.
having the same problem as well. No support for custom Validators
from checkit.
It's there, it's just documented wrong. My example above shows how to add them.
from checkit.
Thanks!
from checkit.
Would anybody be willing to provide a PR to correct this documentation problem?
from checkit.
I think this can be closed?
from checkit.
Related Issues (20)
- Using context correctly HOT 1
- Contains - can I specify multiple values? HOT 3
- Unexpected validated object
- Why clone the `this.target` object?
- async version (0.7.0) doesn't run HOT 2
- null and '' get a pass? HOT 1
- Nested Validations HOT 7
- Transform the property after validate HOT 2
- Is there a way to send arrays as parameters for custom validator?
- "date" validation problem HOT 1
- `finite` does not seem to exist?
- Better validator documentation
- bcrypt password hash validation
- No validation defined for "max:value" and "min:value"
- Error message for URL
- Unique Name Validation using multiple columns
- email regexp should have a source comment explaining the rationale
- How to get a value of some other field in the same form ?
- Not catching errors at all.
- Front page text truncated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkit.