Comments (1)
I solved by this way
Validate.addValidator('required', function(value, param1, param2) { return ( value.trim() !== '' ); }, "", 5, false);
from pristine.
Related Issues (20)
- Support multiple forms in the same page
- Custom Validator with Promise / XHR Requests ("Timeouts") are not working / always false HOT 6
- validate() silent option is ignored / not working HOT 2
- Reset deletes elements
- Validating the number of characters HOT 1
- Can't get to work addError() HOT 3
- Master branch does not match npm tag code. HOT 3
- Please add version number to the top of the javascript file
- Support for ES6?
- valid always return true!
- Validate url
- Doesn't validate the data-pristine-equals.
- the field "number" or "intiger" do not validate correctly HOT 1
- Field validation through min and max properties is not working properly.
- [1.0.0] Required errors messages are no longer injected HOT 3
- Accessibility support for the error messages HOT 1
- Similar Packages
- data-pristine-attributes should always be used when the 2 versions of the attribute exists
- Reset custom error messages for field
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 pristine.